<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi, <br>
<br>
<br>
I did not try liblo yet, but it would be the alternative, if I
cannot figure out how to get it working with pyOSC.<br>
<br>
<br>
<br>
<br>
<br>
</div>
<blockquote cite="mid:20130227125508.M56249@mh-freiburg.de"
type="cite">
<pre wrap="">Two general remarks - first: show us (some) code?
Do you _really_ expect us to debug your problem with the
information you provided?
</pre>
</blockquote>
Why so offensive?<br>
<br>
I expect nothing!<br>
I ask for help, if you dont want to, then dont.<br>
<br>
Anyway...<br>
<blockquote cite="mid:20130227125508.M56249@mh-freiburg.de"
type="cite">
<pre wrap="">Which PyOSC? There seem to be quite a few out in the wild ...
</pre>
</blockquote>
I am reffering to this version of PyOSC:<br>
<a class="moz-txt-link-freetext" href="https://gitorious.org/pyosc/devel/commits/python3">https://gitorious.org/pyosc/devel/commits/python3</a><br>
<br>
<blockquote cite="mid:20130227125508.M56249@mh-freiburg.de"
type="cite"><small>What event loop do you use in your program?
Some code please ... Cheers ,Ralf Mattes</small>
</blockquote>
<br>
<br>
I have a python3 app, that calls a class OSC_Communication.<br>
<br>
address = localhost, port = 9001<br>
<br>
class OSC_Communication(object):<br>
<blockquote>def __init__(self, address, port):<br>
<br>
self.osc_server = ForkingOSCServer((address, port))
<br>
self.register_osc_callbacks()<br>
#__________________________________________________________________________________________________
<br>
<br>
def register_osc_callbacks(self):<br>
self.osc_server.addMsgHandler("/test", self.test_callback)<br>
self.osc_server.addDefaultHandlers("", "/info", "/error")<br>
<br>
print ("Registered Callback-functions are :")<br>
for addr in self.osc_server.getOSCAddressSpace():<br>
print (addr) <br>
#_________________________________________________________________________________________________<br>
<br>
def test_callback(self, path, tags, args, source):<br>
print("test")<br>
#__________________________________________________________________________________________________<br>
<br>
</blockquote>
as simple as it is, it does not receive any OSC message. <br>
The addressing is correct and the messages are sent.<br>
I checked with puredata and printed messages correctly.<br>
Wireshark captured messages correctly as well.<br>
<br>
<br>
So, what am I missing?<br>
<br>
Regards,<br>
Ck
<blockquote>
</blockquote>
</body>
</html>