Bug 82487 - printer configuration crashes with python error
printer configuration crashes with python error
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-printer (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-22 12:51 EST by Steve Witten
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-11-05 09:42:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Steve Witten 2003-01-22 12:51:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Description of problem:
I was advised by RH Support to file this defect report...

As root...

Running 'printconf-gui' from a terminal yields:

Traceback (most recent call last):
  File "/usr/sbin/printconf-gui", line 7, 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

Running 'redhat-config-printer-tui' from a terminal yields:

Traceback (most recent call last):
  File "/usr/sbin/redhat-config-printer-tui", line 7, in ?
    import printconf_tui
  File "/usr/share/printconf/util/printconf_tui.py", line 44, 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

At system bootup when the system tries to start lpd are as follows:

Traceback (most recent call last):
File "/usr/sbin/printconf-backend" line 7 in ?
  import printconf-backend
File "/usr/share/printconf/util/princonf_backend.py" line 29 in ?
File "/usr/share/printconf/util/printconf_conf.py" line 82 in ?
  from xml.utils import qp_xml
ImportError: no module named utils
No Printers Defined

Changing the printing system to CUPS eliminated the bootup messages but I still
can't configure printing.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
See description.

Actual Results:  See description

Expected Results:  No error should be produced

Additional info:

Since I have no RHN until defect report 82483 gets repaired, I need a way to get
these fixes without RHN.  Also, see support ticket # 225471.
Comment 1 Tim Waugh 2003-01-22 13:01:13 EST
Using the perl and python versions that came with the OS?  What's 'rpm -V perl
python' say?

(Incidentally, you can't use redhat-config-printer to configure CUPS, only LPRng.)

Note You need to log in before you can comment on or make changes to this bug.