LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   DBus & Python (http://www.linuxquestions.org/questions/linux-software-2/dbus-and-python-542605/)

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/exceptions.py:8: 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 "test.py", line 3, in <module>
bus = dbus.SystemBus();
File "/usr/local/lib/python2.5/site-packages/dbus/_dbus.py", line 652, in __new__
private=private)
File "/usr/local/lib/python2.5/site-packages/dbus/_dbus.py", line 293, in __new__
mainloop=mainloop)
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.

Thanks,

Rob


All times are GMT -5. The time now is 06:28 AM.