The blocking senders should pack messages with empty bytes

Issue #25 resolved
Alexandre Quessy
created an issue

Their format is wrong!

{{{ $ ./scripts/osc-receive -p 31337 Listening on osc.udp://localhost:31337 Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, args, kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext return func(args,kw) File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite why = getattr(selectable, method)() --- <exception caught here> --- File "/usr/lib/python2.6/dist-packages/twisted/internet/udp.py", line 121, in doRead self.protocol.datagramReceived(data, addr) File "/home/aalex/src/txosc/txosc/async.py", line 144, in datagramReceived element = _elementFromBinary(data) File "/home/aalex/src/txosc/txosc/osc.py", line 709, in _elementFromBinary raise OscError("Error parsing OSC data: " + data) txosc.osc.OscError: Error parsing OSC data: /hello,isfbar@I� Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, *args, kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,kw) File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite why = getattr(selectable, method)() --- <exception caught here> --- File "/usr/lib/python2.6/dist-packages/twisted/internet/udp.py", line 121, in doRead self.protocol.datagramReceived(data, addr) File "/home/aalex/src/txosc/txosc/async.py", line 144, in datagramReceived element = _elementFromBinary(data) File "/home/aalex/src/txosc/txosc/osc.py", line 709, in _elementFromBinary raise OscError("Error parsing OSC data: " + data) txosc.osc.OscError: Error parsing OSC data: /ham/spam,segg

}}}

Comments (1)

  1. Log in to comment