rookie / pybonjour

Automatically exported from code.google.com/p/pybonjour
0 stars 0 forks source link

BonjourError: (-65544, 'unsupported') #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download fresh archive and unpack it.
2. Install libavahi-compat-libdnssd1
3. Run python test_pybonjour.py

What is the expected output? What do you see instead?

pybonjour-1.1.1$ python test_pybonjour.py 
*** WARNING *** The program 'python2.6' called 'DNSServiceAddRecord()'
which is not supported (or only supported partially) in the Apple Bonjour
compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see
<http://0pointer.de/avahi-compat?s=libdns_sd&e=python2.6&f=DNSServiceAddRecord>
E.*** WARNING *** The program 'python2.6' called
'DNSServiceCreateConnection()' which is not supported (or only supported
partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see
<http://0pointer.de/avahi-compat?s=libdns_sd&e=python2.6&f=DNSServiceCreateConne
ction>
EF..
======================================================================
ERROR: test_addrecord_updaterecord_removerecord (__main__.TestPyBonjour)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_pybonjour.py", line 201, in
test_addrecord_updaterecord_removerecord
    rdata='foo')
  File "/home/sheep/h/pybonjour-1.1.1/pybonjour.py", line 1202, in
DNSServiceAddRecord
    ttl)
  File "/home/sheep/h/pybonjour-1.1.1/pybonjour.py", line 286, in _errcheck
    raise cls(result)
BonjourError: (-65544, 'unsupported')

======================================================================
ERROR: test_createconnection_registerrecord_reconfirmrecord
(__main__.TestPyBonjour)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_pybonjour.py", line 223, in
test_createconnection_registerrecord_reconfirmrecord
    sdRef = DNSServiceCreateConnection()
  File "/home/sheep/h/pybonjour-1.1.1/pybonjour.py", line 1559, in
DNSServiceCreateConnection
    sdRef = _DNSServiceCreateConnection()
  File "/home/sheep/h/pybonjour-1.1.1/pybonjour.py", line 286, in _errcheck
    raise cls(result)
BonjourError: (-65544, 'unsupported')

======================================================================
FAIL: test_enumerate_domains (__main__.TestPyBonjour)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_pybonjour.py", line 83, in test_enumerate_domains
    self.wait_on_event(sdRef, done)
  File "test_pybonjour.py", line 65, in wait_on_event
    self.assert_(sdRef in ready[0], 'operation timed out')
AssertionError: operation timed out

----------------------------------------------------------------------
Ran 6 tests in 4.952s

FAILED (failures=1, errors=2)

What version of the product are you using? On what operating system?
* pybonjour-1.1.1.tar.gz
* ubuntu jaunty

Please provide any additional information below.

Original issue reported on code.google.com by radomir....@gmail.com on 4 Aug 2009 at 10:25

GoogleCodeExporter commented 9 years ago
Same problem, on Ubuntu Karmic.

Original comment by mail%wim...@gtempaccount.com on 29 Oct 2009 at 6:32

GoogleCodeExporter commented 9 years ago
Same problem on Gentoo Linux.

Original comment by mrafos...@gmail.com on 19 Apr 2010 at 4:56

GoogleCodeExporter commented 9 years ago
I'm seeing this same issue on Ubuntu 10.04.

Original comment by jjwiseman@gmail.com on 7 May 2010 at 12:35

GoogleCodeExporter commented 9 years ago
Looking at the latest Avahi source, it simply doesn't support 
DNSServiceCreateConnection.  Too bad.

Original comment by jjwiseman@gmail.com on 11 May 2010 at 6:06

GoogleCodeExporter commented 9 years ago
Do you have the avahi-daemon running? I would get this error until I started it.

Original comment by erick.tryzelaar@gmail.com on 22 Sep 2010 at 4:21

GoogleCodeExporter commented 9 years ago
It seems the latest interface of bonjour have changed.
pybonjour was not fit now.
It would be better to release the code with its supported version.

Original comment by xydarc...@gmail.com on 20 Dec 2011 at 9:17

GoogleCodeExporter commented 9 years ago
Has anything happened on this? Is this library still active?

Original comment by TylerSco...@gmail.com on 14 Jul 2014 at 6:45