Re: [protobuf] different results parsing from string in Java and Python

2010-02-28 Thread Kenton Varda
2.0.3 is pretty old, and I think it had an endianness issue in Python. Use 2.3.0 instead. On Sun, Feb 28, 2010 at 5:33 PM, metapieman wrote: > Hi, > > I'm having a problem reading messages produced in Java using Python. > I'm using version 2.0.3 on a PowerPC Mac (OS X 10.4.11). I wrote a > Java

Re: [protobuf] strange encoding

2010-02-28 Thread Kenton Varda
On Sun, Feb 28, 2010 at 3:47 AM, adamdms wrote: > I created (from tutorial example) below message. > > Person ID: 1 > Name: Adam > E-mail address: adam...@tlen.pl > Home phone #: 12345 > Mobile phone #: > Person ID: 2 > Name: Honorata > E-mail address: hon...@wp.pl > Work phone #:

[protobuf] different results parsing from string in Java and Python

2010-02-28 Thread metapieman
Hi, I'm having a problem reading messages produced in Java using Python. I'm using version 2.0.3 on a PowerPC Mac (OS X 10.4.11). I wrote a Java program that saves a series of messages to a file. Also using Java, I've succeeded in reading the messages back in from the file with the parseFrom() met

[protobuf] strange encoding

2010-02-28 Thread adamdms
I created (from tutorial example) below message. Person ID: 1 Name: Adam E-mail address: adam...@tlen.pl Home phone #: 12345 Mobile phone #: Person ID: 2 Name: Honorata E-mail address: hon...@wp.pl Work phone #: 4 Home phone #: 2 Person ID: 3 Name: Przemek E-mail a

Re: [protobuf] Fudge proto project

2010-02-28 Thread Henner Zeller
On Sun, Feb 28, 2010 at 09:13, Adewale Oshineye wrote: > Hi all, > Have you seen this: http://www.fudgemsg.org/display/FDG/Fudge+Proto > which claims to be compatible with the syntax of protobufs but use > different on-disk and on-the-wire representations? Looks like they fell into the trap of wa

[protobuf] Fudge proto project

2010-02-28 Thread Adewale Oshineye
Hi all, Have you seen this: http://www.fudgemsg.org/display/FDG/Fudge+Proto which claims to be compatible with the syntax of protobufs but use different on-disk and on-the-wire representations? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.

[protobuf] Re: Issue 166 in protobuf: by_symbol_.insert(iter, make_pair(name, value)); fails with Sun Studio 12

2010-02-28 Thread protobuf
Comment #2 on issue 166 by maciej.blizinski: by_symbol_.insert(iter, make_pair(name, value)); fails with Sun Studio 12 http://code.google.com/p/protobuf/issues/detail?id=166 I worked around the issue by using an alternative STL implementation. This page has something that might be a differen