Can you provide a small, self-contained example program demonstrating this
problem?

On Wed, Dec 22, 2010 at 4:52 PM, BigBaaadBob <bigbaaad...@gmail.com> wrote:

> I have Python code doing something like this:
>
>
>            m.whatever = somevalue; etc.....
>            s = m.SerializeToString()
>            m.Clear()
>            m.ParseFromString(s)
>
>
> And the m.ParseFromString throws "google.protobuf.message.DecodeError:
> Truncated varint." (And this is the only error thrown! If I print m I
> don't get any errors.)
>
> It seems like protobuf should be able to read something it
> successfully creates, no?
>
> Suggestions?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to proto...@googlegroups.com.
> To unsubscribe from this group, send email to
> protobuf+unsubscr...@googlegroups.com<protobuf%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to