Red Hat Bugzilla – Bug 68767
Could not execute the program at all
Last modified: 2007-04-18 12:44:08 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408
Description of problem:
I could not execute this program at all. But I found a clue. After the bug
happened, I tried to remove the "python" link and link it again with "python1.5"
file. ( Actual version of python that I'm using is 2.2, and this was the version
linked with "python" file), and it ran ok.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.link 'python' file at /usr/bin/ to any python file other than 1.5, such as
2.run the program
Actual Results: Traceback (most recent call last):
File "/usr/sbin/printtool", line 7, in ?
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
Expected Results: The program should run, or else, return an especific error
message, saying that user's version of python is not ok to run the program
There should be a test to check the python version, and use python1.5
explicitly, if it is found, or beep the user if it's not.
Red Hat Linux 7.3 did not come with Python 2.2.
However, the current Red Hat Linux Beta (Limbo) does come with a newer Python,
and redhat-config-printer works with that.