Monday, December 13, 2010

Error Dbus in Arch

Got this error message:
File "/usr/share/wicd/gtk/wicd-client.py", line 63, in
from wicd import dbusmanager
File "/usr/lib/python2.7/site-packages/wicd/dbusmanager.py", line 93, in
DBUS_MANAGER = DBusManager()
File "/usr/lib/python2.7/site-packages/wicd/dbusmanager.py", line 57, in __init__
self._bus = dbus.SystemBus()
File "/usr/lib/python2.7/site-packages/dbus/_dbus.py", line 202, in __new__
private=private)
File "/usr/lib/python2.7/site-packages/dbus/_dbus.py", line 108, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 125, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

Solution:
Edit as root /etc/rc.conf
especially the last daemon line
Make sure you DON'T have dbus in your daemons line if you have hal in it (this was my fault). I stopped dbus by putting an exclamation mark before it: !dbus
hal will start dbus as well. Also, make sure the wicd daemon is after the hal daemon.

see also: https://bbs.archlinux.org/viewtopic.php?id=50674
and https://wiki.archlinux.org/index.php/Wicd

No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.