Bug 57307

Summary: printconf 0.3.58 error on module import
Product: [Retired] Red Hat Raw Hide Reporter: sean <seandarcy>
Component: printconfAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED WORKSFORME QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-12-10 02:40:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description sean 2001-12-10 02:40:24 UTC
Description of Problem:

[root@localhost util]# /etc/rc.d/init.d/lpd restart
Stopping lpd:                                              [FAILED]
Starting lpd: Traceback (most recent call last):
  File "/usr/sbin/printconf-backend", line 7, in ?
    import printconf_backend
  File "/usr/share/printconf/util/printconf_backend.py", line 28, in ?
    from printconf_conf import *
  File "/usr/share/printconf/util/printconf_conf.py", line 81, in ?
    from xml.utils import qp_xml
ImportError: No module named utils
No Printers Defined                                        [  OK  ]



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


How Reproducible:
run printconf-gui

Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:
I've installed python-2.2 , so I could use rpm-4.0.4. 

I can't figure what you're trying to import. The only utils.py on my system
is:

[root@localhost usr]# find . -name "utils.py"
./lib/python1.5/site-packages/xml/parsers/xmlproc/utils.py
[root@localhost usr]# 

So I changed the import statement use it, but that didn't work. Then tried
xmlutils. No luck.

jay

Comment 1 sean 2001-12-14 21:58:24 UTC
Now it works.  Maybe because of install of alchemist-1.0.21? Prerequisite?