Hello

I have a strange problem and need some assistance: I just started using 
protobuf and transmit the serialized messages via TCP-Sockets from Python 
to C++. This works very well if I don't use floats in the .proto files. As 
soon as a message is read, it is parsed via ParseFromString(buffer). 
I used so far the addressbook.proto and amessage.proto from the examples 
and everything worked well. I the just wrote a new proto containing a 
single required float and ParseFromString now returns false and also fails 
to extract the float value from the message. 
If I just replace the float with an int32, the message is correctly parsed 
and ParseFromString returns True. I have no idea what I'm doing wrong, so 
it would be great if someone could help me out. 

Cheers,
   Nikolas

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to