Joshua Wulf created QPID-4140: --------------------------------- Summary: receiver.unsettled() throws exception Key: QPID-4140 URL: https://issues.apache.org/jira/browse/QPID-4140 Project: Qpid Issue Type: Bug Components: Python Client Affects Versions: 0.16 Environment: python-qpid-0.16-1.fc16.noarch qpid-tools-0.16-1.fc16.1.noarch qpid-cpp-server-0.16-1.fc16.1.i686
Reporter: Joshua Wulf Fix For: 0.17 [jwulf@radhe unsettled]$ python unsettled.py Traceback (most recent call last): File "unsettled.py", line 12, in <module> msgs=rx.unsettled() File "<string>", line 6, in unsettled File "/usr/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 986, in unsettled return len([m for m in self.acked if m._receiver is self]) AttributeError: 'Receiver' object has no attribute 'acked' Reproducer: import sys from qpid.messaging import * connection=Connection("localhost:5672") connection.open() try: ssn=connection.session() rx=ssn.receiver("test; {create:always}") tx=ssn.sender("test") tx.send("hello") rx.fetch() msgs=rx.unsettled() print msgs ssn.acknowledge() finally: connection.close() -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org