New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'Cancel' object has no attribute 'reply_code' #419
Comments
Closing: cannot reproduce with 24c3f1d |
Actually, it's still a problem in the latest pika master: in CANCEL EXC ARGS: (<Basic.Cancel(['consumer_tag=ctag1.f6d7b8c88344417b99c8a5416c4a6c70', 'nowait=True'])>,) DIR args[0]: ['INDEX', 'NAME', 'class', 'delattr', 'dict', 'doc', 'format', 'getattribute', 'hash', 'init', 'module', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'weakref', '_set_content', 'consumer_tag', 'decode', 'encode', 'get_body', 'get_properties', 'nowait', 'synchronous'] |
Basic.Cancel does not have reply_code or reply_text.
pika version: '0.9.13'
Using BlockingConnection.
Got this traceback that is indicative of ConsumerCancelledException's repr method is attempting to access a non-existent attribute of the Cancel instance:
The errant source code is:
The text was updated successfully, but these errors were encountered: