[protobuf] Python ParseFromString failing

2010-01-22 Thread Xavier
I'm currently writing a python listener than is receiving a protocol buffer from a UDP multicast transport. The sender is written in C. I'm using Protocol Buffers 2.2a and my python code is also using Twisted. Thanks in advance, -Xavier This is the error I get from my code: Traceback (most

Re: [protobuf] Python ParseFromString failing

2010-01-22 Thread Kenton Varda
Please verify that the bytes you are trying to parse are *exactly* the same bytes that came out of the serializer on the sending end. You could, for example, print a checksum on both sides to manually verify that they are the same. On Fri, Jan 22, 2010 at 3:00 PM, Xavier xavier.stev...@gmail.com