Can you provide a small, self-contained example program demonstrating this problem?
On Wed, Dec 22, 2010 at 4:52 PM, BigBaaadBob <[email protected]> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<protobuf%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
