redhat-config-printer dies with a python error
Ryan Golhar
golharam at umdnj.edu
Tue Nov 16 20:22:31 UTC 2004
Make sure PYTHON_HOME environment variable is not set. I've noticed
that when it is set incorrectly, nothing works. This normally happens
from the installation of a package of some sort that uses python.
If PYTHON_HOME is set, then unset it and try running
redhat-config-printer.
Ryan
-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Rob Tanner
Sent: Tuesday, November 16, 2004 3:09 PM
To: redhat-list at redhat.com
Subject: redhat-config-printer dies with a python error
I have 6 AS3 systems, and this problem occurs on only one. When I
invoke redhat-config-printer, I get the following error output:
[root]# redhat-config-printer-gui
Traceback (most recent call last):
File "/usr/sbin/redhat-config-printer-gui", line 7, 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/_xml
plus/utils/qp_xml.py",
line 23, in ?
ImportError: cannot import name pyexpat
That /usr/src/build path is not even valid.
It ran at least once right after I did the upgrade to AS3 since I do
have two printers installed. But now when I try to run it to add
another printer, I get the above results.
I ran up2date to make sure I was current, and even rebooted the machine
to no avail. The systems that work have the same rpm's installed.
Any ideas?
Thanks.
--
Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list