Skip to contentSkip to conversation

dbus-python and pyexpat

Buildroot Jean-Christian de Rivaz 1 participant 1 message Apr 2, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I try to use the dbus-python package. It compile fine, but when I try to use it on the target, I get this error:

# python
Python 2.4.5 (#1, Mar 26 2009, 16:56:57) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Quoted 1 line
Quoted 1 line
Quoted 1 line

import dbus

Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/dbus/__init__.py", line 100, in ?
from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus
File "/usr/lib/python2.4/site-packages/dbus/_dbus.py", line 46, in ?
from dbus.bus import BusConnection
File "/usr/lib/python2.4/site-packages/dbus/bus.py", line 46, in ?
from dbus.connection import Connection
File "/usr/lib/python2.4/site-packages/dbus/connection.py", line 42, in ?
from dbus.proxies import ProxyObject
File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 35, in ?
from dbus._expat_introspect_parser import process_introspection_data
File "/usr/lib/python2.4/site-packages/dbus/_expat_introspect_parser.py", line 26, in ?
from xml.parsers.expat import ExpatError, ParserCreate
File "/usr/lib/python2.4/xml/parsers/expat.py", line 4, in ?
ImportError: No module named pyexpat

Quoted 1 line
Quoted 1 line
Quoted 1 line

The strange thing is that there seem to be no pyexpat package in buildroot yet. So I don't understand how dbus-python can be functional on the target.

Best Regards,

Signature · 1 line
Jean-Christian de Rivaz