Bug 172045 - avahi-browse with a "wrong" domainame ends in a traceback
Summary: avahi-browse with a "wrong" domainame ends in a traceback
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:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-29 21:18 UTC by Michal Jaegermann
Modified: 2007-11-30 22:11 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2005-11-30 18:49:44 UTC


Attachments (Terms of Use)

Description Michal Jaegermann 2005-10-29 21:18:08 UTC
Description of problem:

# avahi-browse -a -d .local
Browsing domain '.local' on any.0 ...
Traceback (most recent call last):
  File "/usr/bin/avahi-browse", line 161, in ?
    browse_domain(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, domain)
  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: Invalid domain name

If this is a really an invalid domain name then a tool could simply say that
instead of throwing up a traceback.  Even better would be an information which
names are valid.

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:49:44 UTC
This bug is now fixed with avahi-0.6+ .


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