Comments (4)
Do you have a traceback? What is the value of method_sig
?
from py-amqp.
Traceback (most recent call last):
File "/sites/VE/lib/python2.6/site-packages/celery/worker/__init__.py", line 347, in start
component.start()
File "/sites/VE/lib/python2.6/site-packages/celery/worker/consumer.py", line 389, in start
self.reset_connection()
File "/sites/VE/lib/python2.6/site-packages/celery/worker/consumer.py", line 736, in reset_connection
self.reset_pidbox_node()
File "/sites/VE/lib/python2.6/site-packages/celery/worker/consumer.py", line 679, in reset_pidbox_node
callback=self.on_control)
File "/sites/VE/lib/python2.6/site-packages/kombu/pidbox.py", line 71, in listen
consumer.consume()
File "/sites/VE/lib/python2.6/site-packages/kombu/messaging.py", line 398, in consume
self._basic_consume(T, no_ack=no_ack, nowait=False)
File "/sites/VE/lib/python2.6/site-packages/kombu/messaging.py", line 519, in _basic_consume
no_ack=no_ack, nowait=nowait)
File "/sites/VE/lib/python2.6/site-packages/kombu/entity.py", line 571, in consume
nowait=nowait)
File "/sites/VE/lib/python2.6/site-packages/amqp/channel.py", line 1767, in basic_consume
(60, 21), # Channel.basic_consume_ok
File "/sites/VE/lib/python2.6/site-packages/amqp/abstract_channel.py", line 68, in wait
self.channel_id, allowed_methods)
File "/sites/VE/lib/python2.6/site-packages/amqp/connection.py", line 243, in _wait_method
self.wait()
File "/sites/VE/lib/python2.6/site-packages/amqp/abstract_channel.py", line 70, in wait
return self.dispatch_method(method_sig, args, content)
File "/sites/VE/lib/python2.6/site-packages/amqp/abstract_channel.py", line 85, in dispatch_method
'Unknown AMQP method %r' % method_sig, method_sig)
TypeError: not all arguments converted during string formatting
Just noticed that I hadn't updated to the latest version, this traceback is after upgrading to the latest version. It still doesn't like the method_sig being a tuple. The value of method_sig is:
(10, 60)
from py-amqp.
Changing line 85 in the latest version to
'Unknown AMQP method %r' % (method_sig, ), method_sig)
also works for me, and is probably more correct than using str()
from py-amqp.
Thanks! I changed the offending line!
from py-amqp.
Related Issues (20)
- Version 5.0.4 has an error HOT 16
- TCP_USER_TIMEOUT doesn't exist on solaris 11.4 HOT 2
- [BUG] Cannot set cert_reqs=ssl.CERT_NONE due to order of context modification in _wrap_socker_sni HOT 1
- Potentially broken _AbstractTransport.__repr__ HOT 4
- 5.0.6: sphinx warnings HOT 6
- 5.0.6: test suite is using `case` which uses `nose` (which is outdated) HOT 2
- Initial Update
- 5.0.7 SSL connection problem HOT 4
- Celery broken after release 5.0.8 HOT 6
- 5.1.1: pytest warnings HOT 2
- 'Server unexpectedly closed connection' HOT 6
- Waht is stable version? HOT 1
- amqp.exceptions.NotFound: Queue.declare: (404) NOT_FOUND
- pyamqp won't send heartbeat?
- 5.1.1: documentation build fails with sphinx 6.1.3 HOT 3
- Maximum recursion depth exceeded
- How does pyamqp/kombu make multiple threads share the same amqp connection? HOT 5
- bug: version 5.2.0 breaks celery with sqs msg processing HOT 3
- Client which use amqp lib always think that connection is blocked.
- Basic.publish: (406) PRECONDITION_FAILED - message size larger than configured max HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-amqp.