ImportError: cannot import name pyexpat...What does this mean?

Braun Brelin bbrelin at yahoo.com
Fri Jul 19 10:29:56 EDT 2002


Hello all,

I'm running Zope 2.5.1 on a RedHat 7.3 Linux x86
machine.  I've downloaded and installed some Zope
products such as ParsedXML and XMLWidgets. 

I've installed them because I'm trying to 
install the Silvia document management product.

I've also downloaded and installed the PyXML Python
package using the 

"python setup.py build"
and
"python setup.py install" 

I also stopped and attempted to restart Zope.

I get the following errors:

2002-07-19T14:24:31 ERROR(200) Zope Could not import Products.Silva
Traceback (innermost last):
  File /opt/Zope-2.5.1-linux2-x86/lib/python/OFS/Application.py, line
531, in import_product
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/Silva/__init__.py,
line 1, in ?
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/Silva/Folder.py,
line 15, in ?
    (Object: aq_inner)
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/Silva/XMLImporter.py,
line 1, in ?
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/ParsedXML/ParsedXML.py,
line 96, in ?
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/ParsedXML/ManageableDOM.py,
line 99, in ?
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/ParsedXML/ExtraDOM.py,
line 92, in ?
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/ParsedXML/DOM/ExpatBuilder.py,
line 115, in ?
    (Object: Products.ParsedXML.DOM.XMLExtended)
ImportError: cannot import name pyexpat


------
2002-07-19T14:24:32 ERROR(200) Zope Could not import
Products.XMLWidgets
Traceback (innermost last):
  File /opt/Zope-2.5.1-linux2-x86/lib/python/OFS/Application.py, line
531, in import_product
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/XMLWidgets/__init__.py,
line 2, in ?
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/XMLWidgets/WidgetPathScheme.py,
line 2, in ?
    (Object: ElementIdPathScheme)
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/XMLWidgets/WidgetDOM.py,
line 7, in ?
ImportError: cannot import name ExtraDOM


------
2002-07-19T14:24:37 INFO(0) ZODB Opening database for mounting:
'142139120_1025192968.964287'
------
2002-07-19T14:24:37 INFO(0) ZODB Mounted database
'142139120_1025192968.964287' at /temp_folder
------
2002-07-19T14:24:38 ERROR(200) Zope Couldn't install ParsedXML
Traceback (innermost last):
  File /opt/Zope-2.5.1-linux2-x86/lib/python/OFS/Application.py, line
637, in install_product
    (Object: Zope)
    (Info: ParsedXML)
  File /opt/Zope-2.5.1-linux2-x86/lib/python/Products/ParsedXML/__init__.py,
line 92, in initialize
AttributeError: 'Products.ParsedXML.ParsedXML' module has no attribute
'ParsedXML'


I'm not a Zope or a Python expert.  Can someone
help me out here?  Is this just some sort of
shell environment issue?

Braun Brelin
bbrelin at yahoo.com



More information about the Python-list mailing list