[protobuf] How to encode nested Python Protobuf

2013-08-26 Thread chrisgyor
Resubmitted...haven't seen my post in a couple days so not sure what happened. This is also posted on stackoverlow as well http://stackoverflow.com/questions/10957786/protocol-buffers-python-unicode-decode-error?rq=1 Will update whichever site doesn't get the answer posted. ** Been stumped

[protobuf] How to encode nested object in Python Protobuf

2013-08-26 Thread chrisgyor
I posted this on stackoverflow as well...will update each if I find an answer. As someone pointed out... status_cd should not be a float but that is not the root of my issues. *** http://stackoverflow.com/questions/18391290/how-to-encode-nested-python-protobuf# Been stumped on this for a

[protobuf] Protobuf 64-bit library

2013-08-26 Thread Cengizhan Paşaoğlu
I want to create 64-bit libprotobuf static library for Windows but I can't find any configuration or VS solution. Is there another way to create 64-bit library on Windows? -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from

Re: [protobuf] How to encode nested Python Protobuf

2013-08-26 Thread Ilia Mirkin
On Sun, Aug 25, 2013 at 12:47 AM, chrisg...@gmail.com wrote: heartbeatResult = rpc_pb2.HeartbeatResult() heartbeatResult.service = ALERT_SERVICE heartbeatResult.timestamp = st heartbeatResult.status_cd = rpc_pb2.OK heartbeatResult.status_summary = OK response =

Re: [protobuf] How to encode nested Python Protobuf

2013-08-26 Thread Christopher Head
On Sat, 24 Aug 2013 21:47:39 -0700 (PDT) chrisg...@gmail.com wrote: response = rpc_pb2.Response() response.service_name = response.method_name = SendHeartbeatResult response.client_id = ALERT_SERVICE response.status_cd = rpc_pb2.OK response.response_proto =

Re: [protobuf] How to encode nested Python Protobuf

2013-08-26 Thread chrisgyor
Thanks for taking the time to read/reply. GetHeartbeat2 is my original version which I included as well and the way I had thought it should probably work. This code is serializing to string on the inner buffer and then again on the outer. response.response_proto =

Re: [protobuf] How to encode nested Python Protobuf

2013-08-26 Thread Ilia Mirkin
On Mon, Aug 26, 2013 at 8:32 PM, chrisg...@gmail.com wrote: Thanks for taking the time to read/reply. GetHeartbeat2 is my original version which I included as well and the way I had thought it should probably work. This code is serializing to string on the inner buffer and then again on the