Skip to content

Instantly share code, notes, and snippets.

@rtt
Created July 7, 2012 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtt/3065741 to your computer and use it in GitHub Desktop.
Save rtt/3065741 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pamhutils/messaging/models.py", line 15, in send
with JSONAMQPPublisher(amqp_dsn=amqp_dsn, queue=queue) as publisher:
File "pamhutils/amqp/publishers.py", line 12, in __init__
self.setup()
File "pamhutils/amqp/publishers.py", line 32, in setup
promise = self.client.queue_declare(queue=self.queue, durable=True)
File "/Users/rtt/.../pamhutils/lib/python2.7/site-packages/puka/client.py", line 19, in wrapper
p = method(*args, **kwargs)
File "/Users/rtt/.../pamhutils/lib/python2.7/site-packages/puka/machine.py", line 212, in queue_declare
t = conn.promises.new(_queue_declare)
File "/Users/rtt/.../pamhutils/lib/python2.7/site-packages/puka/promise.py", line 21, in new
promise = Promise(self.conn, number, on_channel, **kwargs)
File "/Users/rtt/.../pamhutils/lib/python2.7/site-packages/puka/promise.py", line 62, in __init__
self.conn.channels.allocate(self, self._on_channel)
File "/Users/rtt/.../pamhutils/lib/python2.7/site-packages/puka/channel.py", line 42, in allocate
channel = self.new()
File "/Users/rtt/.../pamhutils/lib/python2.7/site-packages/puka/channel.py", line 30, in new
number = self.free_channel_numbers.pop()
IndexError: pop from empty list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment