-   Linux - Software (
-   -   DBus & Python (

SirRawlins 04-02-2007 06:10 AM

DBus & Python
Afternoon Guys,

I'm struggling with getting dbus-python working properly on my system, I have no idea whats causing the issue. I'm running slackware version 11.

I've got the default python 2.5 installed on the system, and i've installed the latest backages for DBus, DBus-gLib and DBus-Python but when trying to run any of my python scripts i get the following error message.

/usr/local/lib/python2.5/site-packages/dbus/ RuntimeWarning: Python C API version mismatch for module _dbus_bindings: This Python has API version 1013, module _dbus_bindings has version 1012.
import _dbus_bindings
Traceback (most recent call last):
File "", line 3, in <module>
bus = dbus.SystemBus();
File "/usr/local/lib/python2.5/site-packages/dbus/", line 652, in __new__
File "/usr/local/lib/python2.5/site-packages/dbus/", line 293, in __new__
dbus.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused

Thanks for any help anyone can offer, its driving me INSANE trying to solve this one on my own.



All times are GMT -5. The time now is 08:23 PM.