On Mon, Jan 16, 2006 at 11:12:33AM +0900, Miles Bader wrote:
> Package: avahi-discover
> Version: 0.6.3-3
> Severity: important
>
> Trying to run it:
>
> $ sudo avahi-discover
> Sorry, to use this tool you need to install Avahi, pygtk and python-dbus.
Could you patch your avahi-discover with the attached patch and then run it
again? Please run it using sudo like your example above showed and without it
(avahi-discover doesn't have to be run as root).
Sjoerd
--
Nothing is faster than the speed of light ...
To prove this to yourself, try opening the refrigerator door before the
light comes on.
--- avahi-discover 2006-01-17 00:29:55.000000000 +0100
+++ avahi-discover 2006-01-17 00:31:35.000000000 +0100
@@ -24,8 +24,8 @@
try:
import avahi, gtk, gobject, dbus, avahi.ServiceTypeDatabase
from avahi.SimpleGladeApp import SimpleGladeApp
-except ImportError:
- print "Sorry, to use this tool you need to install Avahi, pygtk and
python-dbus."
+except ImportError, e:
+ print "Sorry, to use this tool you need to install Avahi, pygtk and
python-dbus: " + str(e)
sys.exit(1)
try: