Re: [protobuf] Protobuf Unexpected end-group tag

2016-06-13 Thread 'Jie Luo' via Protocol Buffers
I am talking about C++ implementation for python. We should add more checks for MergeFromString() in message.cc . I have a change in internal code, however it was blocked by another team because they have

Re: [protobuf] Protobuf Unexpected end-group tag

2016-06-10 Thread vladimir . kravtsov
Hi Jie Luo, Could you explain a little more which C++ code you are talking about - one that creates message (that is later parsed in Python) or something else? If so, could you provide your changes? Thanks, Vladimir On Tuesday, March 15, 2016 at 12:42:53 PM UTC-7, Jie Luo wrote: > > It checks

Re: [protobuf] Protobuf Unexpected end-group tag

2016-03-15 Thread 'Jie Luo' via Protocol Buffers
It checks the end group tag 4 which should be deprecated. https://developers.google.com/protocol-buffers/docs/encoding#structure On Mon, Mar 14, 2016 at 6:41 PM, Lim Wei Chiang wrote: > Hi Jie Luo, > > What does the error denote, what should I be checking for? > > The link

Re: [protobuf] Protobuf Unexpected end-group tag

2016-03-14 Thread Lim Wei Chiang
Hi Jie Luo, What does the error denote, what should I be checking for? The link you sent has a typo I believe. Thanks for any advice. On Tuesday, 15 March 2016, Jie Luo wrote: > We are going to change the c++ implementation to the same behavior > with pure python which

Re: [protobuf] Protobuf Unexpected end-group tag

2016-03-14 Thread 'Jie Luo' via Protocol Buffers
We are going to change the c++ implementation to the same behavior with pure python which will raise 'Unexpected end-group tag.' too. Please see http://b/27494216 On Sat, Mar 12, 2016 at 11:46 PM, Wei Chiang Lim wrote: > Hi all > > I'm trying parse protobuf messages

[protobuf] Protobuf Unexpected end-group tag

2016-03-14 Thread Wei Chiang Lim
Hi all I'm trying parse protobuf messages subscribed from a zeromq feed using Python. Intermittently when I parse the message string, my script crashes with the following error File "ale-feed-location-reader.py", line 37, in aleEvent.ParseFromString(recvMsg) File