Unable to log in to RabbitMQ 2.4.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txAMQP |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is a continuation of problems which are still persisting when connecting to RabbitMQ 2.4 after the fix for Bug 741147. The new error is due to failing to parse a boolean value in the table (there are four boolean values - publisher_confirms, exchange_
To resolve the issue, I propose the following fix to codec.py:
=== modified file 'src/txamqp/
--- src/txamqp/codec.py 2011-04-04 14:41:10 +0000
+++ src/txamqp/codec.py 2011-04-07 21:26:20 +0000
@@ -189,6 +189,8 @@
value = self.decode_long()
elif type == "F":
value = self.decode_table()
+ elif type == "t":
+ value = (self.decode_
else:
raise ValueError(
result[key] = value
Changed in txamqp: | |
status: | New → Fix Released |
It would be nice to add a decode_bool procedure instead. It would also be nice to have a test case.