[protobuf] Re: Issue 226 in protobuf: Python API doesn't support reading/writing delimited messages

2014-10-30 Thread protobuf
Comment #9 on issue 226 by vladimir...@gmail.com: Python API doesn't support reading/writing delimited messages https://code.google.com/p/protobuf/issues/detail?id=226 Here's a workaround - assuming you want to do this because you are writing protobuf messages to sockets. The delimited

[protobuf] Re: Issue 226 in protobuf: Python API doesn't support reading/writing delimited messages

2014-10-30 Thread protobuf
Comment #10 on issue 226 by vladimir...@gmail.com: Python API doesn't support reading/writing delimited messages https://code.google.com/p/protobuf/issues/detail?id=226 Here's a workaround - assuming you want to do this because you are writing protobuf messages to sockets. The delimited

[protobuf] Re: Issue 324 in protobuf: Feature: Add a new primitive type for a DateTime format

2014-10-30 Thread protobuf
Comment #8 on issue 324 by wouter.b...@gmail.com: Feature: Add a new primitive type for a DateTime format https://code.google.com/p/protobuf/issues/detail?id=324 Temporenc (http://temporenc.org) is a comprehensive binary encoding format for dates and times that tries to solve the problem

[protobuf] Runtime Dependency (or Portable Protobuf)

2014-10-30 Thread Jiwoong Lee
I have a need to minimize the dependency on OS environment. What I am given is (1) pretty standard Linux OS name and version (2) The fact that it has Python 2.7 (3) I do not have super user permission on that machine. What I want to do is to provide a single tar ball of directory, which still

[protobuf] Parse a .proto file

2014-10-30 Thread Pradeep Gollakota
Hi Protobuf gurus, I'm trying to parse a .proto file in Java to use with DynamicMessages. Is this possible or does it have to be compiled to a descriptor set file first before this can be done? I have a use case where I need to parse messages without having the corresponding precompiled

Re: [protobuf] Parse a .proto file

2014-10-30 Thread Oliver Jowett
On 30 October 2014 02:53, Pradeep Gollakota pradeep...@gmail.com wrote: I have a use case where I need to parse messages without having the corresponding precompiled classes in Java. So the DynamicMessage seems to be the correct fit, but I'm not sure how I can generate the DescriptorSet from

[protobuf] Protobuf-2.6.1 make install failure on Centos 6.5

2014-10-30 Thread Jiwoong Lee
Centos 6.5 x86_64 make, make check all fine. But make install causes error. I tried without --prefix option too. I tried without sudo too. Nothing helped. make clean;./configure --prefix=/usr;make clean; make; make check; sudo make install ...

[protobuf] Python google_test error

2014-10-30 Thread Jiwoong Lee
Experts: Can you plz tell what might cause the issue and how to workaround? I use Python 2.6.6 on Centos 6.5 python\ python setup.py google_test running google_test running egg_info writing requirements to protobuf.egg-info/requires.txt writing protobuf.egg-info/PKG-INFO writing