Donate Share

Python Multicast DNS Service Discovery

Tracker: Bugs

5 queries always return None - ID: 2832330
Last Update: Tracker Item Submitted ( nobody )

pyzeroconf-0.12$ python Zeroconf.py
Multicast DNS Service Discovery for Python, version 0.12
1. Testing registration of a service...
Registering service...
Registration done.
2. Testing query of service information...
Getting ZOE service: None
Query done.
3. Testing query of own service...
Getting self: None
Query done.
4. Testing unregister of service information...
Unregister done.


pyzeroconf-0.12$ python Browser.py
Multicast DNS Service Discovery for Python Browser test
1. Testing browsing for a service...
Service Hatta Wiki._http._tcp.local. added
Type is _http._tcp.local.
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/home/sheep/h/pyzeroconf-0.12/Zeroconf.py", line 1020, in run
event(self.zeroconf)
File "/home/sheep/h/pyzeroconf-0.12/Zeroconf.py", line 985, in <lambda>
callback = lambda x: self.listener.addService(x, self.type,
record.alias)
File "Browser.py", line 16, in addService
print "Address is", str(socket.inet_ntoa(info.getAddress()))
AttributeError: 'NoneType' object has no attribute 'getAddress'


Nobody/Anonymous ( nobody ) - 2009-08-04 22:29

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.