In the init.d scripts: Traceback (most recent call last): File "/usr/share/hplip/hpssd.py", line 66, in ? from base import utils, device File "/usr/share/hplip/base/utils.py", line 30, in ? import xml.parsers.expat as expat File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py", line 4, in ? from pyexpat import * ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS4_Decode and the same with hp-setup: Traceback (most recent call last): File "/usr/bin/hp-setup", line 35, in ? from base import device, utils, msg, service File "/usr/share/hplip/base/device.py", line 37, in ? import utils, status, pml, service File "/usr/share/hplip/base/utils.py", line 30, in ? import xml.parsers.expat as expat File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py", line 4, in ? from pyexpat import * ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS4_Decode Removing and rebuilding python with -ucs2 solves the problem. Reproducible: Always Steps to Reproduce: 1. Build python with +ucs2 2. Restart /etc/init.d/hplip 3. hpiod succeeds but hpssd fails with above error.
re-emerge dev-python/pyxml *** This bug has been marked as a duplicate of bug 144774 ***