You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Joshua Wulf (JIRA)" <ji...@apache.org> on 2012/07/17 05:04:35 UTC
[jira] [Created] (QPID-4140) receiver.unsettled() throws exception
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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Updated] (QPID-4140) receiver.unsettled() throws exception
Posted by "Gordon Sim (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim updated QPID-4140:
-----------------------------
Fix Version/s: (was: 0.17)
> 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
> Attachments: unsettled.py
>
>
> [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
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Updated] (QPID-4140) receiver.unsettled() throws exception
Posted by "Joshua Wulf (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Wulf updated QPID-4140:
------------------------------
Attachment: unsettled.py
Reproducer attached, because pasting in-line destroyed indentation.
> 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
>
> Attachments: unsettled.py
>
>
> [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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org