From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050811 Fedora/1.7.10-1.1.1.legacy Description of problem: Attempting to start printconf logged in as root produces the following :- # printconf Traceback (most recent call last): File "/usr/sbin/printconf", line 9, in ? import queueTree File "/usr/share/printconf/util/queueTree.py", line 33, in ? import printconf_conf File "/usr/share/printconf/util/printconf_conf.py", line 83, in ? from xml.utils import qp_xml File "/usr/src/build/219081-i386/install/usr/lib/python2.2/site-packages/_xmlplus/utils/qp_xml.py", line 23, in ? ImportError: cannot import name pyexpat System is fully up to date (RH EL 3 Update 6 with all subsequent patches) Version-Release number of selected component (if applicable): redhat-config-printer-0.6.47.3.23-1 How reproducible: Always Steps to Reproduce: 1. Login as root 2. type 'printconf' or 'printconf-tui' 3. Actual Results: # printconf Traceback (most recent call last): File "/usr/sbin/printconf", line 9, in ? import queueTree File "/usr/share/printconf/util/queueTree.py", line 33, in ? import printconf_conf File "/usr/share/printconf/util/printconf_conf.py", line 83, in ? from xml.utils import qp_xml File "/usr/src/build/219081-i386/install/usr/lib/python2.2/site-packages/_xmlplus/utils/qp_xml.py", line 23, in ? ImportError: cannot import name pyexpat Expected Results: printconf utility should run as expected and allow the print system to be configured. Additional info:
What do these commands say?: rpm -V python rpm -q python
Tim # rpm -V python # rpm -q python python-2.2.3-6.1
What about these?: python -c 'import pyexpat' rpm -V PyXML rpm -q PyXML
Tim # python -c 'import pyexpat' Traceback (most recent call last): File "<string>", line 1, in ? ImportError: /usr/lib/python2.2/lib-dynload/pyexpat.so: undefined symbol: XML_ExpatVersionInfo # rpm -V PyXML # rpm -q PyXML PyXML-0.7.1-9
Seems like it might be a python problem. Changing component and reassigning.
I cannot reproduce this on U7, even though python hasn't changed. Did you have expat installed?
Hi Sorry for the delay in responding... This worked fine (it's how I configure pritners on all our customers systems) then one day just didn't anymore... How can I tell if I have xpat installed? TIA