+robinson

The ParseFromString() in python now always returns None. Note the
MergeFromString() returns the number of bytes read, but there's a TODO to
make that always return None. Will may have some ideas about this.

On Sat, May 21, 2011 at 4:22 PM, jsia <jsi...@gmail.com> wrote:

> Hi,
>
> I created a proto file and did something like this
>
> data = test_pb2.Payload()
> data.id = 1234
>
> output = data.SerializeToString()
>
> print data.ParseFromString(output)
>
> The output is always None
>
> I tried deserializing it in java and it worked  , is this a bug?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to protobuf@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@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