I'm currently writing a python listener than is receiving a protocol
buffer from a UDP multicast transport. The sender is written in C.
I'm using Protocol Buffers 2.2a and my python code is also using
Twisted.
Thanks in advance,
-Xavier
This is the error I get from my code:
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/twisted/python/log.py",
line 33, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib64/python2.4/site-packages/twisted/python/context.py",
line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args,
**kw)
File "/usr/lib64/python2.4/site-packages/twisted/python/context.py",
line 37, in callWithContext
return func(*args,**kw)
File "/usr/lib64/python2.4/site-packages/twisted/internet/
selectreactor.py", line 139, in _doReadOrWrite
why = getattr(selectable, method)()
--- <exception caught here> ---
File "/usr/lib64/python2.4/site-packages/twisted/internet/udp.py",
line 127, in doRead
self.protocol.datagramReceived(data, addr)
File "./bdc_receiver.py", line 22, in datagramReceived
self.message.ParseFromString(repr(datagram))
File "build/bdist.linux-x86_64/egg/google/protobuf/message.py", line
159, in ParseFromString
File "build/bdist.linux-x86_64/egg/google/protobuf/reflection.py",
line 1238, in MergeFromString
File "build/bdist.linux-x86_64/egg/google/protobuf/reflection.py",
line 1082, in _DeserializeOneEntity
exceptions.RuntimeError: TODO(robinson): Wiretype mismatches not
handled.
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.