[Zope] could not install ParsedXML-1.3.1tgz

J Cameron Cooper jccooper@jcameroncooper.com
Wed, 04 Jun 2003 18:52:33 -0500


>
> I could not start ParsedXML.
>  
> I had installed Zope 2.6.1, the most recent stable release of Zope on 
> solaris 8. Everything seems to work fine. then I unpacked 
> ParsedXML-s1.3.1.tgz 
> <http://www.zope.org/Members/faassen/ParsedXML/ParsedXML-1.3.1.tgz/view> 
> under installationDir/lib/python/Products. now, I could not start the 
> server properly. I got the following error message. I followed the 
> instructions of installing parsedXML from the download page.  Please 
> help. Thanks a lot.
>  
> Althea Chasee
>  
> 003-06-04T18:34:44 ERROR(200) Zope Couldn't install ParsedXML
> Traceback (innermost last):
>   File 
> /xxx/xxx/findingaid/Zope-2.6.1/Zope-2.6.1-solaris-2.8-sparc/lib/python/OFS/Application.py, 
> line 647, in install_product
>     (Object: Zope)
>     (Info: ParsedXML)
>   File 
> /xxx/xxx/findingaid/Zope-2.6.1/Zope-2.6.1-solaris-2.8-sparc/lib/python/Products/ParsedXML/__init__.py, 
> line 91, in initialize
>   File 
> /xxx/xxx/findingaid/Zope-2.6.1/Zope-2.6.1-solaris-2.8-sparc/lib/python/Products/ParsedXML/ParsedXML.py, 
> line 96, in ?
>   File 
> /xxx/xxx/findingaid/Zope-2.6.1/Zope-2.6.1-solaris-2.8-sparc/lib/python/Products/ParsedXML/ManageableDOM.py, 
> line 100, in ?
>   File 
> /home/xxx/findingaid/Zope-2.6.1/Zope-2.6.1-solaris-2.8-sparc/lib/python/Products/ParsedXML/ExtraDOM.py, 
> line 92, in ?
>   File 
> /home/xxx/findingaid/Zope-2.6.1/Zope-2.6.1-solaris-2.8-sparc/lib/python/Products/ParsedXML/DOM/ExpatBuilder.py, 
> line 115, in ?
>     (Object: Products.ParsedXML.DOM.XMLExtended)
> ImportError: cannot import name expat

You need the Python interface to the XML parser expat. Sometimes it is 
already installed, but apparently not at your installation. It comes 
with PyXML:

http://pyxml.sourceforge.net/

Be sure you're installing it in a place Zope can find it (on the Python 
path.) If you're using a precompiled Zope, it probably uses its own 
Python and not the system one.

          --jcc