[rabbitmq-discuss] Tutorial 1-hello world error
Jaspal Singh
jaspal13.007 at gmail.com
Fri Jun 14 07:38:11 BST 2013
Hello all,
I am new to Rabbitmq have just finished installation and was trying the
first tutorial in python but I am getting the following error when I run
./send.py in my ubunty terminal
jaspal at jaspal-HP-ProBook-4420s:~/rabbitmq tutorials/hello$ ./send.py
No handlers could be found for logger "pika.adapters.base_connection"
Traceback (most recent call last):
File "./send.py", line 4, in <module>
connection =
pika.BlockingConnection(pika.ConnectionParameters(host='localhost'))
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/base_connection.py",
line 61, in __init__
super(BaseConnection, self).__init__(parameters, on_open_callback)
File "/usr/local/lib/python2.7/dist-packages/pika/connection.py", line
513, in __init__
self._connect()
File "/usr/local/lib/python2.7/dist-packages/pika/connection.py", line
804, in _connect
self._adapter_connect()
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 146, in _adapter_connect
self.process_data_events()
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 88, in process_data_events
if self._handle_read():
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 184, in _handle_read
super(BlockingConnection, self)._handle_read()
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/base_connection.py",
line 300, in _handle_read
return self._handle_error(error)
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/base_connection.py",
line 264, in _handle_error
self._handle_disconnect()
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 181, in _handle_disconnect
self._on_connection_closed(None, True)
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 235, in _on_connection_closed
raise exceptions.AMQPConnectionError(*self.closing)
pika.exceptions.AMQPConnectionError: (0, '')
Please help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130613/17489c96/attachment.htm>
More information about the rabbitmq-discuss
mailing list