[rabbitmq-discuss] Pika 0.9.3 & RabbitMQ

Gavin M. Roy gmr at myyearbook.com
Mon Feb 21 16:35:15 GMT 2011


That is odd, did you by chance install with pip against the github URL? I
have removed/reworked the code it's referencing in upcoming 0.9.4 but it's
there in 0.9.3:

https://github.com/tonyg/pika/blob/v0.9.3/pika/connection.py#L779

You're using 2.6 which is what my primary environment is in, would you do me
a favor and download 0.9.3 as a tarball from:

http://pypi.python.org/packages/source/p/pika/pika-v0.9.3.tar.gz

and in the root directory run "make test"  and email me off list with the
results? If that passes, can you run setup.py install from that dir and test
again with your app?

On Mon, Feb 21, 2011 at 11:09 AM, Gary Richards <richardsbeats at gmail.com>wrote:

> this is the full trace:
>
>
> Traceback (most recent call last):
>  File "send.py", line 100, in <module>
>    connection.ioloop.start()
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/adapters/select_connection.py", line 184, in start
>    self.poller.start()
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/log.py", line 107, in debug_log
>    return method(*args, **kwargs)
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/adapters/select_connection.py", line 445, in start
>    self.poll()
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/adapters/select_connection.py", line 459, in poll
>    self._handler(events[0][0], events[0][1])
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/adapters/base_connection.py", line 181, in _handle_events
>    self._handle_read()
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/log.py", line 107, in debug_log
>    return method(*args, **kwargs)
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/adapters/base_connection.py", line 210, in _handle_read
>    self._on_data_available(data)
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/log.py", line 107, in debug_log
>    return method(*args, **kwargs)
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/connection.py", line 577, in _on_data_available
>    consumed_count, frame = self.state.handle_input(self._buffer)
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/log.py", line 107, in debug_log
>    return method(*args, **kwargs)
>  File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/
> pika/connection.py", line 715, in handle_input
>    data_out, frame = self._waiting_for_protocol_header(data_in)
> AttributeError: 'ConnectionState' object has no attribute
> '_waiting_for_protocol_header'
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110221/b39da081/attachment.html>


More information about the rabbitmq-discuss mailing list