qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-3218) AttributeError: 'NoneType' object has no attribute 'write_cmds'
Date Tue, 03 May 2011 18:07:03 GMT

     [ https://issues.apache.org/jira/browse/QPID-3218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gordon Sim updated QPID-3218:
-----------------------------

    Attachment: test.py

The attached simple test results in a similar error:

qpid.messaging.exceptions.InternalError: Traceback (most recent call last):
  File "/home/gordon/projects/qpid-svn-trunk/python/qpid/messaging/driver.py", line 507, in
dispatch
    self.engine.dispatch()
  File "/home/gordon/projects/qpid-svn-trunk/python/qpid/messaging/driver.py", line 810, in
dispatch
    self.attach(ssn)
  File "/home/gordon/projects/qpid-svn-trunk/python/qpid/messaging/driver.py", line 851, in
attach
    self.link(snd, self._out, snd.target)
  File "/home/gordon/projects/qpid-svn-trunk/python/qpid/messaging/driver.py", line 894, in
link
    self.resolve_declare(sst, _lnk, dir.DIR_NAME, resolved)
  File "/home/gordon/projects/qpid-svn-trunk/python/qpid/messaging/driver.py", line 955, in
resolve_declare
    self.resolve(sst, lnk.name, do_resolved, force=declare)
  File "/home/gordon/projects/qpid-svn-trunk/python/qpid/messaging/driver.py", line 981, in
resolve
    sst.write_query(ExchangeQuery(name), do_result)
AttributeError: 'NoneType' object has no attribute 'write_query'

Attaching in case reproducing that sheds light on the larger issue. (note this is the same
test as for the unrelated QPID-3242 but with the actual send/fetch commented out).

> AttributeError: 'NoneType' object has no attribute 'write_cmds'
> ---------------------------------------------------------------
>
>                 Key: QPID-3218
>                 URL: https://issues.apache.org/jira/browse/QPID-3218
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>         Environment: OS=RHEL6 
> python-qpid-0.7.946106-12.el6.noarch
> qpid-cpp-client-0.7.946106-5.el6.x86_64
> qpid-cpp-server-0.7.946106-5.el6.x86_64
> qpid broker on main server and all the nodes are
> vm's with bridged configuration in a single network.
>            Reporter: Jeff Ortel
>         Attachments: test.py
>
>
> 2011-04-19 22:05:07,321 [ERROR][asynctaskreplyqueue] __fetch() @ consumer.py:90 - asynctaskreplyqueue
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/gofer/messaging/consumer.py", line 86, in __fetch
>     return self.receiver.fetch(timeout=self.WAIT)
>   File "<string>", line 6, in fetch
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 994, in fetch
>     self._ecwait(lambda: self.linked)
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 50, in _ecwait
>     result = self._ewait(lambda: self.closed or predicate(), timeout)
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 957, in _ewait
>     result = self.session._ewait(lambda: self.error or predicate(), timeout)
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 550, in _ewait
>     result = self.connection._ewait(lambda: self.error or predicate(), timeout)
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 194, in _ewait
>     self.check_error()
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 187, in check_error
>     raise self.error
> InternalError: Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 496, in dispatch
>     self.engine.dispatch()
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 791, in dispatch
>     self.attach(ssn)
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 834, in attach
>     self.link(rcv, self._in, rcv.source)
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 885, in link
>     dir.do_unlink(sst, lnk, _lnk)
>   File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 261, in do_unlink
>     sst.write_cmds(cmds, action)
> AttributeError: 'NoneType' object has no attribute 'write_cmds'

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message