syphonpy icon indicating copy to clipboard operation
syphonpy copied to clipboard

syphonpy not seeing servers?

Open danielnjackson opened this issue 2 years ago • 1 comments

Hi, I'm very much a novice Python programmer, so this is probably user error. I've installed syphonpy and it seems to be working (the server.py script included in the examples folder functions as expected). However, when I run the client.py example, there is no list of servers returned even when I am running several (the Simple Server from the syphon folks, and a server in Isadora, for instance).

The issue seems to be that syphonpy.ServerDirectory.servers() is empty. Am I missing a function or line of code to populate that list of servers?

I'm running Python 3.9 on mac os 12.5.

Thanks!

danielnjackson avatar Sep 07 '22 00:09 danielnjackson

I think your problem is related to this issue: https://github.com/Syphon/Syphon-Framework/issues/93

Syphon needs an NSRunLoop, otherwise it won't get the needed notifications.

cansik avatar Dec 24 '23 10:12 cansik