Hey Martin, 

I think this question would be better posted to stackoverflow, since it 
doesn't really fit the forum topic of general discussion on the platform, 
rather this is a specific technical question about deserializing some 
protocol buffers in python.

Feel free to post the link to your stack question here when you create it, 
and I'll be happy to look into the question. We monitor here and 
stackoverflow/serverfault (and the public issue trackers), so there's no 
worry of the message being lost. If anything, there are more users on 
stackexchange than this forum, and you'll increase your chances of a good 
reply.

The info I'd think would help turn this into a better question on stack 
would include some of the code / libraries you're using to define your 
service / client.

On Tuesday, October 6, 2015 at 12:11:27 PM UTC-4, Martin Gerner wrote:
>
> Hello fellow GAE users,
>
> We have a set of GAE ProtoRPC endpoints, and a client that calls them, 
> using protobuf messages for communication. Under certain circumstances, the 
> endpoints might raise errors, that are returned to the client by GAE as 
> protobuf messages. The errors inherit from protorpc.messages.Error; 
> examples raised include e.g. protorpc.remote.ApplicationError.
>
> When calling these endpoints and triggering the errors using e.g. curl, we 
> can see that GAE returns these errors as protobuf messages, but we haven't 
> been able to find the actual specifications for these messages (a .proto 
> file or similar), so we can't generate client libraries for our mobile 
> clients, which in turn means that we cannot parse the errors and act on 
> them.
>
> Their format is very similar to the remote.RpcStatus protobuf message (but 
> not identical, as the RpcStatus definition cannot be used to parse them). 
>
> Does anybody know how these error protobuf messages can be parsed? The 
> only alternative we can see at the moment is to ditch protobuf and just use 
> json instead, but we'd prefer to use protobuf if possible.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/969910e2-76de-4efe-a1cb-8773e2308f7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to