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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.