<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
I'm using python celery with RabbitMQ and AMQP. Pika occasionally
gives this bizarre<br>
error, from which, there is no recovery.<br>
<br>
[2014-02-10 17:16:25,189: ERROR/Worker-20] Socket Error on fd 9: 32<br>
[2014-02-10 17:16:25,190: WARNING/Worker-20] Traceback (most recent
call last):<br>
File
"/home/ubuntu/software/code/gridwave/matrix/bundles/nlp/engine.py",
line 160, in process_bid<br>
workflow.construct(_workflow['workflow'])<br>
File
"/home/ubuntu/software/code/gridwave/matrix/bundles/workflow/celery/__init__.py",
line 920, in construct<br>
self.workflow_broker.publish(wfdoc)<br>
File
"/home/ubuntu/software/code/gridwave/matrix/bundles/messaging/rabbitmq/__init__.py",
line 131, in publish<br>
self.channel.basic_publish(exchange=self.exchange,routing_key=self.key,body=message)<br>
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 540, in basic_publish<br>
(properties, body), False)<br>
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 1121, in _send_method<br>
self.connection.send_method(self.channel_number, method_frame,
content)<br>
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 249, in send_method<br>
self._send_method(channel_number, method_frame, content)<br>
File "/usr/local/lib/python2.7/dist-packages/pika/connection.py",
line 1489, in _send_method<br>
self._send_frame(frame.Method(channel_number, method_frame))<br>
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 388, in _send_frame<br>
super(BlockingConnection, self)._send_frame(frame_value)<br>
File "/usr/local/lib/python2.7/dist-packages/pika/connection.py",
line 1476, in _send_frame<br>
self._flush_outbound()<br>
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 348, in _flush_outbound<br>
if self._handle_write():<br>
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/base_connection.py",
line 338, in _handle_write<br>
return self._handle_error(error)<br>
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/base_connection.py",
line 282, in _handle_error<br>
self._handle_disconnect()<br>
File
"/usr/local/lib/python2.7/dist-packages/pika/adapters/blocking_connection.py",
line 318, in _handle_disconnect<br>
self.disconnect()<br>
AttributeError: 'BlockingConnection' object has no attribute
'disconnect'<br>
<br>
Any clues I can look for?<br>
<br>
Ubuntu 13.10, 64bit.<br>
<br>
thanks,<br>
Darren<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</body>
</html>