2007-04-02 10:09:15

by Robert Rawlins

[permalink] [raw]
Subject: Re: [Bluez-users] Pyhton - ImportError: No module named dbus

Another update guys,

I went back to the drawing board and reinstalled everything, Python 2.5, g-libs, pyrex and dbus-python, and all seemed to go fine, but i now get this error message when trying to run my file :-D

/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_bindingsTraceback (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
If anyone has the slightest idea as to what is causing this problem i'd love to hear from you, if i had any hair i'd be tearing it out :-D

Thanks,

Rob
_________________________________________________________________
Try Live.com - your fast, personalized homepage with all the things you care about in one place.
http://www.live.com/getstarted


Attachments:
(No filename) (345.00 B)
(No filename) (164.00 B)
Download all attachments