[protobuf] unable to install protobuf with python3

2014-11-05 Thread satyanarayan rao
Hi All, I am not able to install protobuf (the python version). I am getting the following error. Traceback (most recent call last): File /opt/env/bin/easy_install, line 11, in module sys.exit(main()) File

Re: [protobuf] unable to install protobuf with python3

2014-11-05 Thread 'Feng Xiao' via Protocol Buffers
Can you follow the suggestion from gps on this thread and see if it works for you? https://github.com/google/protobuf/issues/7 On Wed, Nov 5, 2014 at 10:50 AM, satyanarayan rao satyanarayan.ii...@gmail.com wrote: Hi All, I am not able to install protobuf (the python version). I am getting

[protobuf] ANN: ProtoStream - A NodeJS module to emit ProtoBuf messages from a stream, SAX-style.

2014-11-05 Thread Chris Dew
This module uses ProtocolBuffers to de-frame protocol buffer messages within a (TCP) stream. https://github.com/chrisdew/protostream Hope it's useful to others too, Chris. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe

Re: [protobuf] unable to install protobuf with python3

2014-11-05 Thread satyanarayan rao
Thanks for the reply! I do not see the solution related to my problem. One thing that is bothering me is, i am not able to use setuptools that I have locally installed. It always tries to download the older version mentioned in ez_setup.py. Even I am using virtualenv I hope I am making sense.

Re: [protobuf] unable to install protobuf with python3

2014-11-05 Thread 'Feng Xiao' via Protocol Buffers
On Wed, Nov 5, 2014 at 11:32 AM, satyanarayan rao satyanarayan.ii...@gmail.com wrote: Thanks for the reply! I do not see the solution related to my problem. One thing that is bothering me is, i am not able to use setuptools that I have locally installed. It always tries to download the

Re: [protobuf] tests.exe deleted random files on my computer (Win7 + VS2013)

2014-11-05 Thread 'Feng Xiao' via Protocol Buffers
Protobuf unit-tests will create/delete temporary files for testing purpose. For example: https://github.com/google/protobuf/blob/master/src/google/protobuf/compiler/command_line_interface_unittest.cc#L230 I couldn't think of how it could delete random files though. You can check whether this

Re: [protobuf] tests.exe deleted random files on my computer (Win7 + VS2013)

2014-11-05 Thread Peter Wurstkopp
Posting on this board is so frustrating... first time I got no information that my post was submitted and I have to wait, so I submitted it again and accidentally double posted and now it won't let me post a reply... Post button doesn't do anything, so I switch from Firefox to Chrome and

Re: [protobuf] Parse a .proto file

2014-11-05 Thread Pradeep Gollakota
Ok… I finally figured out the work around for this. I use a separate .proto file that contains my custom options. package com.lithum.pbnj; import google/protobuf/descriptor.proto; option java_package = com.lithium.pbnj; message LiOptions { optional bool isPii = 1 [default = false];

Re: [protobuf] tests.exe deleted random files on my computer (Win7 + VS2013)

2014-11-05 Thread 'Feng Xiao' via Protocol Buffers
I see the problem now. So the call to TestTempDir() in SetUp() thrown an exception because Comodo Defense+ denied the creation of the temporary directory and then temp_directory_ hadn't been assigned any value but instead left empty. After that the test framework ran TearDown() automatically which

[protobuf] Re: Gzip streams fail to decode but doesn't error

2014-11-05 Thread Antoine Bouthors
I've found my problem: SerializeToZeroCopyStream doesn't return any error because all the stream does is accumulate the input in a buffer before compression, so it doesn't even try to write the result yet. The stream return error codes when calling Flush() and Close(). If I call those then I

[protobuf] Re: Issue 187 in protobuf: Command-line argument to override the optimize_for option

2014-11-05 Thread protobuf
Comment #14 on issue 187 by austin.l...@gmail.com: Command-line argument to override the optimize_for option https://code.google.com/p/protobuf/issues/detail?id=187 I was able to use Keaton's plugin as a starting point and am using it now. I didn't know that the protobuf compiler was that

Re: [protobuf] tests.exe deleted random files on my computer (Win7 + VS2013)

2014-11-05 Thread Peter Wurstkopp
No problem, at least I'm glad it was not a virus and nothing too important got deleted. Windows was able to restore most but not all files. Could have been worse. Thanks for looking into it. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group.

[protobuf] Issue 678 in protobuf: Clearing an extension message clears it but HasExtension still reports it's not cleared (Protobuf 2.4.1)

2014-11-05 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 678 by kaspar.f...@dreizak.com: Clearing an extension message clears it but HasExtension still reports it's not cleared (Protobuf 2.4.1) https://code.google.com/p/protobuf/issues/detail?id=678 What steps will

[protobuf] Re: Issue 678 in protobuf: Clearing an extension message clears it but HasExtension still reports it's not cleared (Protobuf 2.4.1)

2014-11-05 Thread protobuf
Comment #1 on issue 678 by kaspar.f...@dreizak.com: Clearing an extension message clears it but HasExtension still reports it's not cleared (Protobuf 2.4.1) https://code.google.com/p/protobuf/issues/detail?id=678 For the sake of completeness, here are the files contained in the ZIP: $ cat