fle3-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fle3-dev] Import failure FLE3 1.4.2 to 1.4.4


From: Tarmo Toikkanen
Subject: Re: [Fle3-dev] Import failure FLE3 1.4.2 to 1.4.4
Date: Wed, 10 Sep 2003 13:32:04 +0300
User-agent: Mutt/1.5.1i

The parser requires a compiled library, which means it's not pure
python. These libraries are in site-packages. Usually the xml parsers
are in /usr/lib/python2.x/site-packages/_xmlplus/parsers but in your
case (python that comes with Zope) they'll probably be in
/usr/local/zope/2-6-1/lib/python/site-packages/...

In Debian you can just apt-get install python-xml. Don't know the
details on other platforms.

On 10.09.2003, 11:56:57, Ulrich Agricola wrote:
sorry to bother you  ;-)

Concerning zope I've got (copied from Control_Panel):

Zope Version: (Zope 2.6.1 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2) Python Version: 2.1.3 (#1, Sep 19 2002, 13:15:46) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)]
System Platform: linux2
SOFTWARE_HOME: /usr/local/zope/2-6-1/lib/python
...

Concerning Python:
There is a folder named  /usr/local/zope/2-6-1/lib/python2.1/xml
and /usr/local/zope/2-6-1/lib/python2.1/xml/parsers

1. I cannot find an xmlplus-module "in the wild" ...
2. There is an instance of python2.2 at my /usr/lib/python2.2, which contains files like xmllib.py etc. - can I use this version of py?

regards
Ulrich Agricola


Tarmo Toikkanen schrieb:
Does not solve the problem entirely:

> Zope Error
> Zope has encountered an error while publishing this resource.
>
> Error Type: AttributeError
> Error Value: 'xml.sax.expatreader' module has no attribute 'create_parser'

To use the import functionality, you need an XML parser. This comes
with the xmlplus Python library, which you should install.



--
Tarmo Toikkanen
http://www.iki.fi/tarmo/
The Fle3 Team
http://fle3.uiah.fi





reply via email to

[Prev in Thread] Current Thread [Next in Thread]