Red Hat Bugzilla – Bug 73101
redhat-config-httpd pukes python
Last modified: 2008-05-01 11:38:03 EDT
Description of Problem:
I did an up2date of all the Aug 28th RPMS to a freshly installed Null box. Now
when I run redhat-config-httpd, I get this:
# redhat-config-httpd Traceback
(most recent call last): File
"/usr/share/apacheconf/ApacheConf.py", line 33, in ?
File "/usr/share/apacheconf/ApacheGizmo.py", line 36, in ?
File "/usr/share/apacheconf/ApacheBase.py", line 9, in ?
from xml.xslt.Processor import Processor
File "/usr/lib/python2.2/site-packages/_xmlplus/xslt/__init__.py", line 38,
from Ft.Lib import pDomlette
File "/usr/lib/python2.2/site-packages/Ft/Lib/pDomlette.py", line 718, in ?
from pDomletteReader import *
File "/usr/lib/python2.2/site-packages/Ft/Lib/pDomletteReader.py", line 27,
from xml.parsers import expat
ImportError: cannot import name expat
Version-Release number of selected component (if applicable):
expat should be back with newest rpm packages. Please verify...
Thanks a lot,
Florian La Roche
Changing to component 4Suite as it should do:
Require: PyXML >= 0.7
as that contains the expat python module.
Read ya, Phil
It already does require PyXML >= 0.7.
4Suite-0.11.1-10 does indeed require PyXML >= 0.7 and
redhat-config-httpd-1.0.1-10 runs without error, so closing out.
This was a problem with one build which removed a buggy xml parser. For generic
cases, this works - however, if the program specifies which parser to run, it
does not. Thus it was put back.