Comment 4 for bug 358251

Revision history for this message
Thomas Herve (therve) wrote : Re: Sync with latest python-qpid version

Yes, I have an example, creating a message using amqplib:

    msg = amqp.Message(msg_body, content_type='text/plain',
       application_headers={'foo': 7, 'bar': {'baz': 1}})

I got the following traceback in txamqp:

   File "src/txamqp/protocol.py", line 153, in _unpackFrame
   File "src/txamqp/connection.py", line 183, in decode
   File "src/txamqp/codec.py", line 86, in decode
   File "src/txamqp/codec.py", line 184, in decode_table
           exceptions.ValueError: 'F'

The problem is that decode_table doesn't recurse (it can't decode a table contained inside a table).