avahi-discover crashed with error in __init__(): (2, 'No such file or directory')
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
avahi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I just installed the avahi-discover package. When I execute it, I get the following traceback:
Traceback (most recent call last):
File "/usr/bin/
service_type_db = avahi.ServiceTy
File "/usr/lib/
self.db = gdbm.open(filename, "r")
I debugged the code, and it looks for the filename "/usr/lib/
So, I guess that the default 'filename' parameter in file /usr/lib/
should be modified to be architecture dependent some how. That line contains the following:
def __init__(self, filename = "/usr/lib/
So, I guess that the architecture should be discovered some how.
Thanks,
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: avahi-discover 0.6.29-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue Mar 29 14:01:36 2011
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110302)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
PythonArgs: ['/usr/
SourcePackage: avahi
Title: avahi-discover crashed with error in __init__(): (2, 'No such file or directory')
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev nopasswdlogin plugdev sambashare tape vboxusers video
Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #743438, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.