Qpid
  1. Qpid
  2. QPID-3919

qpid-printevents can't connect to broker

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.14
    • Fix Version/s: 0.16, 0.17
    • Component/s: Python Tools
    • Labels:
      None

      Description

      When qpid-printevents tries to connect to vanilla broker, default port, we get this:

      EXCEPTION in Broker._v1Cb: cannot concatenate 'str' and 'instance' objects
      Traceback (most recent call last):
      File "/home/mick/trunk/qpid/extras/qmf/src/py/qmf/console.py", line 2789, in _v1Dispatch
      self._v1DispatchProtected(msg)
      File "/home/mick/trunk/qpid/extras/qmf/src/py/qmf/console.py", line 2844, in _v1DispatchProtected
      agent._handleQmfV1Message(opcode, seq, mp, ah, codec)
      File "/home/mick/trunk/qpid/extras/qmf/src/py/qmf/console.py", line 3648, in _handleQmfV1Message
      elif opcode == 'e': self._v1HandleEventInd(codec, seq)
      File "/home/mick/trunk/qpid/extras/qmf/src/py/qmf/console.py", line 3380, in _v1HandleEventInd
      self.unsolicitedContext.doEvent(event)
      File "/home/mick/trunk/qpid/extras/qmf/src/py/qmf/console.py", line 3770, in doEvent
      self.notifiable(qmf_event=data)
      File "/home/mick/trunk/qpid/extras/qmf/src/py/qmf/console.py", line 3107, in _call_
      self.session.console.event(self.broker, event)
      File "/home/mick/trunk/qpid/tools/src/py/qpid-printevents", line 33, in event
      print event
      File "/home/mick/trunk/qpid/extras/qmf/src/py/qmf/console.py", line 3951, in _repr_
      out += " broker=" + self.broker.getUrl()
      TypeError: cannot concatenate 'str' and 'instance' objects

        Activity

        Hide
        Justin Ross added a comment -

        Reviewed by me. Approved for 0.16.

        Show
        Justin Ross added a comment - Reviewed by me. Approved for 0.16.
        Hide
        michael j. goulish added a comment -

        svn r1305998

        Show
        michael j. goulish added a comment - svn r1305998
        Hide
        michael j. goulish added a comment -

        fixed by svn r1305998

        Show
        michael j. goulish added a comment - fixed by svn r1305998

          People

          • Assignee:
            michael j. goulish
            Reporter:
            michael j. goulish
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development