Skip to content

Instantly share code, notes, and snippets.

@mkutsevol
Created May 10, 2013 16:00
Show Gist options
  • Save mkutsevol/5555372 to your computer and use it in GitHub Desktop.
Save mkutsevol/5555372 to your computer and use it in GitHub Desktop.
py-amqp python error traceback
File "/usr/local/lib/python3.3/dist-packages/kombu-2.5.10-py3.3.egg/kombu/messaging.py", line 164, in publish
routing_key, mandatory, immediate, exchange, declare)
File "/usr/local/lib/python3.3/dist-packages/kombu-2.5.10-py3.3.egg/kombu/messaging.py", line 169, in _publish
channel = self.channel
File "/usr/local/lib/python3.3/dist-packages/kombu-2.5.10-py3.3.egg/kombu/messaging.py", line 186, in _get_channel
channel = self._channel = channel()
File "/usr/local/lib/python3.3/dist-packages/kombu-2.5.10-py3.3.egg/kombu/utils/__init__.py", line 392, in __call__
value = self.__value__ = self.__contract__()
File "/usr/local/lib/python3.3/dist-packages/kombu-2.5.10-py3.3.egg/kombu/messaging.py", line 201, in <lambda>
channel = ChannelPromise(lambda: connection.default_channel)
File "/usr/local/lib/python3.3/dist-packages/kombu-2.5.10-py3.3.egg/kombu/connection.py", line 752, in default_channel
self.connection
File "/usr/local/lib/python3.3/dist-packages/kombu-2.5.10-py3.3.egg/kombu/connection.py", line 737, in connection
self._connection = self._establish_connection()
File "/usr/local/lib/python3.3/dist-packages/kombu-2.5.10-py3.3.egg/kombu/connection.py", line 696, in _establish_connection
conn = self.transport.establish_connection()
File "/usr/local/lib/python3.3/dist-packages/kombu-2.5.10-py3.3.egg/kombu/transport/pyamqp.py", line 109, in establish_connection
heartbeat=conninfo.heartbeat)
File "/usr/local/lib/python3.3/dist-packages/amqp-1.0.11-py3.3.egg/amqp/connection.py", line 142, in __init__
(10, 10), # start
File "/usr/local/lib/python3.3/dist-packages/amqp-1.0.11-py3.3.egg/amqp/abstract_channel.py", line 69, in wait
self.channel_id, allowed_methods)
File "/usr/local/lib/python3.3/dist-packages/amqp-1.0.11-py3.3.egg/amqp/connection.py", line 204, in _wait_method
self.method_reader.read_method()
File "/usr/local/lib/python3.3/dist-packages/amqp-1.0.11-py3.3.egg/amqp/method_framing.py", line 187, in read_method
raise m
File "/usr/local/lib/python3.3/dist-packages/amqp-1.0.11-py3.3.egg/amqp/method_framing.py", line 105, in _next_method
frame_type, channel, payload = read_frame()
File "/usr/local/lib/python3.3/dist-packages/amqp-1.0.11-py3.3.egg/amqp/transport.py", line 144, in read_frame
frame_type, channel, size = unpack('>BHI', self._read(7, True))
File "/usr/local/lib/python3.3/dist-packages/amqp-1.0.11-py3.3.egg/amqp/transport.py", line 205, in _read
result += s
TypeError: Can't convert 'bytes' object to str implicitly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment