Re: [protobuf] Protocol Buffer Size Limit Python

2010-10-12 Thread Kenton Varda
This exception is being thrown when *parsing* a message, not serializing. It looks like the incoming message is invalid. Please make sure that the string you pass to the parse method contains exactly the same bytes and is exactly the same size as the bytes that were produced by the serializer.

[protobuf] Protocol Buffer Size Limit Python

2010-10-11 Thread Patrick
I am currently having some trouble serializing a large python message (45 megs) that I can serialize in C++ and C#. Is there a limitation to the size of a message in python. This is the exception I am receiving: Traceback (most recent call last): File C:\Python26\lib\threading.py, line 532, in