Bug 172046 - avahi-browse, and other tools, end with a traceback if avahi-daemon is not running
Summary: avahi-browse, and other tools, end with a traceback if avahi-daemon is not ru...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: avahi
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-29 21:30 UTC by Michal Jaegermann
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: avahi-0.6-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-30 18:57:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2005-10-29 21:30:02 UTC
Description of problem:

When avahi-daemon is not running then trying, say, 'avahi-browse -a' instead
of returning with an information that a required daemon is not available
throws a hissy fit:

Browsing domain 'local' on any.0 ...
Traceback (most recent call last):
  File "/usr/bin/avahi-browse", line 153, in ?
    browse_domain(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, "local")
  File "/usr/bin/avahi-browse", line 134, in browse_domain
    b = dbus.Interface(bus.get_object(avahi.DBUS_NAME,
server.ServiceTypeBrowserNew(interface, protocol, domain)),
avahi.DBUS_INTERFACE_SERVICE_TYPE_BROWSER)
  File "/usr/lib64/python2.4/site-packages/dbus/proxies.py", line 64, in __call__
    reply_message = self._connection.send_with_reply_and_block(message, timeout)
  File "dbus_bindings.pyx", line 395, in
dbus_bindings.Connection.send_with_reply_and_block
dbus_bindings.DBusException: The name org.freedesktop.Avahi was not provided by
any .service files

Something similar for 'avahi-discover'.

Version-Release number of selected component (if applicable):
avahi-0.5.2-3

How reproducible:
always

Comment 1 Jason Vas Dias 2005-11-30 18:57:40 UTC
This bug is fixed with avahi-0.6+


Note You need to log in before you can comment on or make changes to this bug.