artfwo / pymonome

python library for interacting with monome devices
MIT License
55 stars 10 forks source link

BonjourError: (-65537, 'unknown') #1

Closed WnP closed 12 years ago

WnP commented 12 years ago

Hi,

I try to make the pymonome example working, but each scripts return me the following error :

Traceback (most recent call last):
  File "./faders.py", line 39, in <module>
    host, port = monome.find_any_monome()
  File "~/pymonome/monome.py", line 41, in find_any_monome
    browser = MonomeBrowser()
  File "~/pymonome/monome.py", line 174, in __init__
    self.sdRef = pybonjour.DNSServiceBrowse(regtype=REGTYPE, callBack=self.browse_callback)
  File "~/pymonome/pybonjour.py", line 1409, in DNSServiceBrowse
    None)
  File "~/pymonome/pybonjour.py", line 286, in _errcheck
    raise cls(result)
pybonjour.BonjourError: (-65537, 'unknown')

linux distro : Archlinux Python : 2.7

Thanks

artfwo commented 12 years ago

This commonly happens, when the avahi daemon isn't running. Make sure, that avahi is installed and loaded on startup. Does this help?

WnP commented 12 years ago

Yes that's fix the problem, many thanks