Error log trace
===========

ts=2018-06-04T10:08:06.672Z lvl=info msg="UDF log" service=udf text="    
request.ParseFromString(body)"
ts=2018-06-04T10:08:06.672Z lvl=info msg="UDF log" service=udf 
text="google.protobuf.message.DecodeError: Error parsing message"
ts=2018-06-04T10:08:06.672Z lvl=info msg="UDF log" service=udf 
text="2018-06-04 10:08:06,672 ERROR:root: error processing request of type 
unknown: Error parsing message"


Python code
==========

        request = udf_pb2.Request()

                self._in = self._in.detach()
                data = self._in.read()
                data = data.decode("ascii","replace")

                if type(data) == str:
                    data = bytearray(data, "utf-8")
                    body = bytes(data)

                request.ParseFromString(body)



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to