Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-02-2007, 07:10 AM   #1
LQ Newbie
Registered: May 2006
Posts: 3

Rep: Reputation: 0
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.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
avahi & dbus issues on Gentoo dtjohnst Linux - Software 1 02-25-2007 05:45 PM
KDE & hal/dbus/udev problem with USB card... mlaverdiere Debian 7 02-23-2006 09:00 PM
Superkaramba & Python iZvi Linux - Software 7 11-24-2004 04:57 PM
Python & Up2date gkoutsog Red Hat 2 09-21-2003 12:09 PM
Xchat & Python nixdisciple Linux - General 1 06-03-2002 05:54 AM

All times are GMT -5. The time now is 07:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration