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

        michael j. goulish created issue -
        Hide
        michael j. goulish added a comment -

        fixed by svn r1305998

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

        svn r1305998

        Show
        michael j. goulish added a comment - svn r1305998
        michael j. goulish made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Justin Ross made changes -
        Fix Version/s 0.16 [ 12319870 ]
        Fix Version/s 0.17 [ 12320179 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        20h 19m 1 michael j. goulish 28/Mar/12 16:50
        Resolved Resolved Closed Closed
        488d 3h 2m 1 Justin Ross 29/Jul/13 19:53

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development