====================================================================== ERROR: testMessageProperties (tests.spec010.SpecTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/remote/gsim/qpid.0-10/python/tests/spec010.py", line 55, in testMessageProperties dec = self.encdec(mp, props) File "/home/remote/gsim/qpid.0-10/python/tests/spec010.py", line 44, in encdec type.encode(sc, value) File "/home/remote/gsim/qpid.0-10/python/qpid/spec010.py", line 241, in encode self.encode_fields(sc, value) File "/home/remote/gsim/qpid.0-10/python/qpid/spec010.py", line 256, in encode_fields f.type.encode(codec, values[f.name]) File "/home/remote/gsim/qpid.0-10/python/qpid/spec010.py", line 147, in encode getattr(codec, "write_%s" % self.name)(value) File "/home/remote/gsim/qpid.0-10/python/qpid/codec010.py", line 98, in write_uint64 self.pack("!Q", n) File "/home/remote/gsim/qpid.0-10/python/qpid/packer.py", line 36, in pack self.write(struct.pack(fmt, *args)) TypeError: can't convert negative long to unsigned ----------------------------------------------------------------------
Not a bug: just an issue with the way the test specifies the literal value (its a hex literal which is getting interpreted as a signed int). using an equiavlent decimal literal in the test works fine.