You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using v1.0.2 (most recent as of now) on Python 3.2 with the most recent
RabbitMQ. When there is a network issue it sometimes crashes on connect
(amqp.Connection()) with this trace:
\connection.py", line 129, in __init__
self.transport = create_transport(host, connect_timeout, ssl)
\transport.py", line 297, in create_transport
return TCPTransport(host, connect_timeout)
\transport.py", line 87, in __init__
raise socket.error(msg)
UnboundLocalError: local variable 'msg' referenced before assignment
I replaced the offending line
raise socket.error(msg)
with:
raise socket.error('Unable to connect')
Original issue reported on code.google.com by [email protected] on 7 Feb 2012 at 9:34
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 7 Feb 2012 at 9:34The text was updated successfully, but these errors were encountered: