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:<div><br></div><div><a href="https://github.com/tonyg/pika/blob/v0.9.3/pika/connection.py#L779">https://github.com/tonyg/pika/blob/v0.9.3/pika/connection.py#L779</a></div>
<div><br></div><div>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:</div><div><br></div><div><a href="http://pypi.python.org/packages/source/p/pika/pika-v0.9.3.tar.gz">http://pypi.python.org/packages/source/p/pika/pika-v0.9.3.tar.gz</a></div>
<div><br></div><div>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?</div><div><div><div>
<div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Feb 21, 2011 at 11:09 AM, Gary Richards <span dir="ltr"><<a href="mailto:richardsbeats@gmail.com">richardsbeats@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
this is the full trace:<br>
<br>
<br>
Traceback (most recent call last):<br>
File "send.py", line 100, in <module><br>
connection.ioloop.start()<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/adapters/select_connection.py", line 184, in start<br>
self.poller.start()<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/log.py", line 107, in debug_log<br>
return method(*args, **kwargs)<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/adapters/select_connection.py", line 445, in start<br>
self.poll()<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/adapters/select_connection.py", line 459, in poll<br>
self._handler(events[0][0], events[0][1])<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/adapters/base_connection.py", line 181, in _handle_events<br>
self._handle_read()<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/log.py", line 107, in debug_log<br>
return method(*args, **kwargs)<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/adapters/base_connection.py", line 210, in _handle_read<br>
self._on_data_available(data)<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/log.py", line 107, in debug_log<br>
return method(*args, **kwargs)<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/connection.py", line 577, in _on_data_available<br>
consumed_count, frame = self.state.handle_input(self._buffer)<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/log.py", line 107, in debug_log<br>
return method(*args, **kwargs)<br>
File "/usr/local/lib/python2.6/dist-packages/pika-0.9.3-py2.6.egg/<br>
pika/connection.py", line 715, in handle_input<br>
data_out, frame = self._waiting_for_protocol_header(data_in)<br>
<div class="im">AttributeError: 'ConnectionState' object has no attribute<br>
'_waiting_for_protocol_header'<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div></div></div>