Comment 9 for bug 113298

Revision history for this message
BryanLawrence (b-n-lawrence) wrote : Re: kde applications fail due to library problem

Agreed, I don't think this is kde/kubuntu specific, I thought it was, but I've got a bit further ...

The bottom line is that an import statement
 from xml.parsers.expat import ExpatError, ParserCreate
is giving an
ImportError: /usr/local/lib/python2.5/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8

Which comes down to a problem which is well understood:
http://www.python.org/doc/faq/extending.html#when-importing-module-x-why-do-i-get-undefined-symbol-pyunicodeucs2

i.e: two pythons compiled with different numbers of bytes for unicode characters.

But, why it's not finding the right thing within the system python (first) is the question (and what other things this might cause that we've not yet identified).