[rabbitmq-discuss] haigha 0.5.3 crashes when closing channel

vitaly vitaly.krugl.numenta at gmail.com
Tue Aug 14 09:07:14 BST 2012


Closing a channel in haigha 0.5.3 (using gevent transport) crashes when 
closing channel.  The traceback looks like this:

Traceback (most recent call last):
  File 
"/Users/vkrug/nta/current/lib/python2.6/site-packages/gevent/greenlet.py", 
line 328, in run
    result = self._run(*self.args, **self.kwargs)
  File "haigha_channel_test.py", line 57, in readFrames
    conn.read_frames()
  File 
"/Users/vkrug/Packages/haigha/haigha-0.5.3/build/lib/haigha/connection.py", 
line 354, in read_frames
    self._transport.process_channels( p_channels )
  File 
"/Users/vkrug/Packages/haigha/haigha-0.5.3/build/lib/haigha/transports/transport.py", 
line 38, in process_channels
    channel.process_frames()
  File 
"/Users/vkrug/Packages/haigha/haigha-0.5.3/build/lib/haigha/channel.py", 
line 208, in process_frames
    self.close( 500, "Failed to dispatch %s"%(str(frame)) )
  File 
"/Users/vkrug/Packages/haigha/haigha-0.5.3/build/lib/haigha/channel.py", 
line 156, in close
    self.channel.close(reply_code, reply_text, class_id, method_id)
AttributeError: 'Channel' object has no attribute 'channel'
<Greenlet at 0x1009d42f8: readFrames(conn=<haigha.connection.Connection 
object at 0x1009de45)> failed with AttributeError

Filed as https://github.com/agoragames/haigha/issues/24
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120814/cf466201/attachment.htm>


More information about the rabbitmq-discuss mailing list