By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,965 Members | 1,631 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,965 IT Pros & Developers. It's quick & easy.

PyZeroConf Question

P: n/a
djw
AMK, thanks for your work on PyZeroConf!

Using PyZeroConf 0.12.

I'm seeing an issue with the Browser.py code. I am scanning for printers
using:

type = "_pdl-datastream._tcp.local."

The list of printers is returned, but every call to getServiceInfo() in
the Listener objectresults in a timeout and None being returned.

I am not trying to publish any services, just discovery.

Also, at the end of the list, the code seems to hang.

Any ideas?

Thanks,

Don
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Thu, 17 Mar 2005 14:48:03 -0800,
djw <dw****@vcd.hp.com> wrote:
The list of printers is returned, but every call to getServiceInfo() in
the Listener objectresults in a timeout and None being returned.
I suggest compiling Apple's mDNSMonitor and looking at the sequence of
packets. It seems that some Zeroconf services don't respond to the
..getServiceInfo() calls; maybe that's what's happening here.
Also, at the end of the list, the code seems to hang.


That makes sense. The threads that monitor Zeroconf aren't marked as
daemonic, so as long as they're running the main thread doesn't exist. I've
hacked my copy of zeroconf.py to mark the threads as daemonic.

--amk

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.