Issue "AttributeError: NoneType' object has no attribute 'sendall'" is closed?

2,129 views
Skip to first unread message

Ali Bozorgkhan

unread,
May 8, 2015, 2:44:19 PM5/8/15
to pika-...@googlegroups.com
Hi,

Sometimes I get "AttributeError: NoneType' object has no attribute 'sendall'" error. I googled it and found this issue on github: https://github.com/pika/pika/issues/518.
The issue is closed and referenced in https://github.com/anchor/ceilometer-publisher-zeromq/issues/8. I don't see any connections between pika and ceilometer-publisher-zeromq. Am I missing something? Is there a fix for the error?

Cheers,
Ali

vitaly numenta

unread,
May 8, 2015, 10:04:18 PM5/8/15
to pika-...@googlegroups.com
This pika BlockingConnection issue should be addressed in pika master branch already.

Ali Bozorgkhan

unread,
May 10, 2015, 1:17:14 PM5/10/15
to pika-...@googlegroups.com

vitaly numenta

unread,
May 11, 2015, 12:42:33 PM5/11/15
to pika-...@googlegroups.com
There were several PRs that addressed consistency issues in BlockingConnection related to the ConnectionClosed exception. However, the reason that you might be getting "AttributeError: NoneType' object has no attribute 'sendall'" could also be user error: if - after ConnectionClosed - you call any methods that need to perform I/O on the connection, you will get exceptions like the one that you are seeing. 
Reply all
Reply to author
Forward
0 new messages