Bug 57307 - printconf 0.3.58 error on module import
Summary: printconf 0.3.58 error on module import
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: printconf
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-12-10 02:40 UTC by sean
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-12-10 02:40:28 UTC
Embargoed:


Attachments (Terms of Use)

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?


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