[Bug 113298] kde applications fail due to library problem
BryanLawrence
b.n.lawrence at rl.ac.uk
Tue May 8 09:27:50 UTC 2007
Public bug reported:
I have a version of python in /usr/local.
When /usr/local is mounted during login, a number of applications do not
appear in my taskbar, and fail with bizarre messages when requested from
system settings.
Two that really matter are guidance and the power manager (battery
monitor) (Actually, I think these are the same, but I'm not quite sure).
It appears that while the (some?) kde python applications correctly use
/usr/bin/python, they are nonetheless picking up the python site-library
from /usr/local
Investigating with guidance shows the following error when run from the
command-line
./guidance-power-manager
bnl at sstdlbnl:/usr/bin$ Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport_python_hook.py", line 30, in apport_excepthook
import apport.report, apport.fileutils
File "/var/lib/python-support/python2.5/apport/__init__.py", line 1, in <module>
from apport.report import Report
File "/var/lib/python-support/python2.5/apport/report.py", line 18, in <module>
from xml.parsers.expat import ExpatError
File "/usr/local/lib/python2.5/site-packages/_xmlplus/parsers/expat.py", line 4, in <module>
from pyexpat import *
ImportError: /usr/local/lib/python2.5/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
Original exception was:
Traceback (most recent call last):
File "/usr/share/python-support/kde-guidance/guidance-power-manager.py", line 38, in <module>
import dbus
File "/var/lib/python-support/python2.5/dbus/__init__.py", line 198, in <module>
from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus, Interface
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 38, in <module>
from dbus.proxies import ProxyObject, BUS_DAEMON_NAME, BUS_DAEMON_PATH, \
File "/var/lib/python-support/python2.5/dbus/proxies.py", line 31, in <module>
from dbus._expat_introspect_parser import process_introspection_data
File "/var/lib/python-support/python2.5/dbus/_expat_introspect_parser.py", line 22, in <module>
from xml.parsers.expat import ExpatError, ParserCreate
File "/usr/local/lib/python2.5/site-packages/_xmlplus/parsers/expat.py", line 4, in <module>
from pyexpat import *
ImportError: /usr/local/lib/python2.5/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
** Affects: kubuntu-meta (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
kde applications fail due to library problem
https://bugs.launchpad.net/bugs/113298
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kubuntu-meta in ubuntu.
More information about the kubuntu-bugs
mailing list