Yum and system-config-network command fails with python error messages
Issue
-
When I try to run system-config-network I get the following error
# system-config-network Error in sys.excepthook: Traceback (most recent call last): File "/usr/sbin/system-config-network-tui", line 119, in <lambda> PRG_NAME, PRG_VERSION) File "/usr/sbin/system-config-network-tui", line 109, in handleException text = text + joinfields(list, "") NameError: global name 'joinfields' is not defined Original exception was: Traceback (most recent call last): File "/usr/sbin/system-config-network-tui", line 122, in ? from netconfpkg import * File "/usr/share/system-config-network/netconfpkg/__init__.py", line 41, in ? GenClass_read_classfile(__path__[0] + "/" + _idl_file, mod = __netconfpkg) File "/usr/lib/python2.4/site-packages/rhpl/genClass.py", line 989, in GenClass_read_classfile __GenClass_read_classfile(boxpath, mod, OptLower) File "/usr/lib/python2.4/site-packages/rhpl/genClass.py", line 942, in __GenClass_read_classfile doc = xml.dom.minidom.parse(boxpath) File "/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py", line 1914, in parse from xml.dom import expatbuilder File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 32, in ? from xml.parsers import expat File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py", line 4, in ? from pyexpat import * ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: XML_StopParser
While running yum it fails with following error
# yum update
Loaded plugins: rhnplugin, security
/usr/lib/python2.4/xmllib.py:9: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead.
warnings.warn("The xmllib module is obsolete. Use xml.sax instead.", DeprecationWarning)
Environment
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
