On Mon, Mar 10, 2003 at 12:24:27PM -0500, cbrechbu@xxxxxxxxxx wrote: > The command 'redhat-config-printer' fails with the following message. > Traceback (most recent call last): > File "/usr/sbin/redhat-config-printer", line 9, in ? > import printconf_gui > File "/usr/share/printconf/util/printconf_gui.py", line 41, in ? > from printconf_conf import * > File "/usr/share/printconf/util/printconf_conf.py", line 82, in ? > from xml.utils import qp_xml > ImportError: No module named utils > > And 'printconf-gui' gives practically the same. (It's the same program.) > Upgrading to RedHat 8.0 replaces Python 1.5 with Python 2.2. But it > doesn't migrate the libraries. I still have > /usr/lib/python1.5/site-packages/xml/utils/qp_xml.py, but now > /usr/bin/python will now look in /usr/lib/python2.2/site-packages, > where no subdirectory 'xml' even exists. How exactly did you upgrade? Seems like the old version of the printer tool ('printconf') is installed, rather than the new ('redhat-config-printer'). Tim. */
Attachment:
pgp00787.pgp
Description: PGP signature