Re: [protobuf] Re: What are some protobufs security measures?

2016-07-18 Thread Oi Lee
I did not add an issue to github because I follow the instructions in the readme.txt in the python folder. On Wednesday, July 13, 2016 at 7:13:42 PM UTC-6, Oi Lee wrote: > > Yes I can. :) > But just so you know, I did not clone the master from github, instead I > downloaded the tar from > htt

[protobuf] Error when I run: python setup.py test --cpp_implementation

2016-07-18 Thread Oi Lee
Using CENToS and protobuf 2.6.1, when I run: python setup.py test --cpp_implementation I get the following error: ... File "[..]/protobuf-2.6.1/python/setup.py", line 89, in MakeTestSuite import google.protobuf.pyext.descriptor_cpp2_test as descriptor_cpp2_test ImportError: No module named

[protobuf] what to put in WORKSPACE and/or BUILD files to enable the cc_proto_library rule?

2016-07-18 Thread JI Ioannidis
What is the sequence of magic incantations to create a cc_proto_library rule? I have tried copying protobuf.bzl from the protobuf repo to the root of my workspace, as well as some (at least a year old) .bzl files referenced in this group, to no avail. My end goal is to have a BUILD file such as

[protobuf] why does uint64, fixed64 map to string when converted to JSON

2016-07-18 Thread Shashwat Agarwal
Hi, I was looking at this document: https://developers.google.com/protocol-buffers/docs/proto3#json and noticed that int64, fixed64, uint64 are mapped to string when converting to JSON. Any specific reason why this is done? This deviation breaks a lot of other JSON parsers and any code in JS t

[protobuf] Creating protobuff of biometric data in C#.

2016-07-18 Thread shashi chandra
can anyone help me in creating protobuff of biometric data in C#, if have any sample please share. -- 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+

[protobuf] circular references in EBNF grammar

2016-07-18 Thread 'Alan Thomas' via Protocol Buffers
In the EBNF grammar for protocol buffers 3 (), there are circular references. For example, message refers to messageBody, but messageBody refers back to message. Unless I am missing something, this won`t work! I was trying to implement the grammar using the python pyparsing package and notic

[protobuf] why does int64, fixed64, uint64 serialise to string in JSON

2016-07-18 Thread Shashwat Agarwal
Hi, As per this doc: https://developers.google.com/protocol-buffers/docs/proto3#json, int64, fixed64, uint64 are suppose to serialise to string in JSON. Are there any specific reasons for this choice? It is non standard and breaks a other JSON parsers and JS itself. -- You received this messa

[protobuf] Process to generate .proto file for a given XSD ?

2016-07-18 Thread Amit Yadav
Hi , Could anyone please let me know the Process to generate .proto file for a given XSD ? E.g. Bulk xsd Process> .proto file Thanks, Amit -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop

[protobuf] C++ Linux Google Protocol Buffers - having trouble replicating the tutorial

2016-07-18 Thread Jonathan
I'm following the cpp tutorial on google protocol buffers and am trying to run the example code. I successfully installed Google Protocol Buffers on Ubuntu and compiled the .proto file so I got the pb.h and pb.cc generated fil

[protobuf] How Do I Get proto3 to build shared libraries in C++

2016-07-18 Thread Doug Lewis
I'm building the proto3 version of protocol buffers using Cygwin. When I execute the "make check" command I get the following error: *** Warning: This system can not link to static lib archive lib/libgtest.la. *** I have the capability to make that library automatically link in when *** you link

Re: [protobuf] Question about Go protobufs and import_prefix

2016-07-18 Thread Zellyn
Note that I'm not actually generating protobufs into a vendor folder; what I described has the same problems with or without vendoring. On Tuesday, July 12, 2016 at 4:33:33 PM UTC-4, Damien Neil wrote: > > Simpler than maintaining a fork, though. > > The more convenient alternative would be for p