[python-amqp-library] The connector cannot be stopped successfully

Bug #2063199 reported by Andreas Tsagkaropoulos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NebulOuS
New
High
Fotis Paraskevopoulos

Bug Description

When the connector.stop() method is called, an exception is raised, with the following text:

too many values to unpack (expected 2)

The solution to this is to append to lines 42/44 of the context.py file the .items() function call.

Related to the stopping process, in line 72 of the context.py file there is a warning printed as follows, when I retry to create a new consumer in the place of an old consumer which has been stopped:

WARNING - [context] Trying to register consumer that already exists

The solution to this would be to either reuse the old consumer object or to somehow delete the consumer from the dictionary containing it, when it has been stopped.

Changed in nebulous:
importance: Undecided → High
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.