upgrade loses python libs, breaking printconf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can anyone suggest the "right" way to solve this apparently old
problem configuring printers?

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.  Reading through
archives, I see that this problem is not new to Psyche; it has also
affected many users of Valhalla, Enigma, and Roswell.

Diagnosis:

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.

I could start moving files or directories from /usr/lib/python1.5 to
2.2 and see if it will start to work again, but there must be a
cleaner solution.

Thanks

  Christian



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux