error when using nested and packed in python

2009-07-02 Thread Dan
Hello protobuf gurus- I'm just getting started with the python version of protobuf, using v2.10. I want to store some lists of floats in a database's blob field. When using a nested Message structure with the packed=true option, I'm getting errors that look like this: Traceback (most recent call

Re: error when using nested and packed in python

2009-07-02 Thread Kenton Varda
Yeah, I think it's broken. In reflection.py there is a line: return decoder.Position() - content_start I think (untested) that it should actually be: return decoder.Position() - initial_position I have no idea how this got past testing and I have asked the people responsible to fix it.