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: Ulrich Agricola
Subject: Re: [Fle3-dev] Import failure FLE3 1.4.2 to 1.4.4
Date: Thu, 11 Sep 2003 09:10:39 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.0.1) Gecko/20020823 Netscape/7.0

Thanks a lot!

I tried "quick and dirty" - _xmlplus now resides in /usr/local/zope/2-6-1/lib/python/site-packages/ . After restart of Zope unfortunately I still get an error:

> Error Type: ImportError
> Error Value: cannot import name expatbuilder

Problem with python version? I'll have to try  the "correct sulution", then?

regards
Ulrich Agricola


address@hidden schrieb:

On Wed, Sep 10, 2003 at 01:32:04PM +0300 address@hidden wrote:
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?

Yes, the Python that comes with Zope does not have all the needed
libraries, see:

http://mail.gnu.org/archive/html/fle3-users/2003-07/msg00009.html


Quick and dirty solution:
-------------------------

Copy http://flea.uiah.fi/xml_libs.tar.gz to usr/local/zope/2-6-1/ and
unpack it there. Restart Zope and it should word.

Correct solution:
-----------------
Use Zope source package (or any _correctly_ configured package for
your platform...).


--
--------------------------------------
Dr. Ulrich Agricola
Internet- und Projektkompetenz
Kath. Universität Eichstätt-Ingolstadt
Ostenstraße 29, D-85072 Eichstätt
Tel.: 08421 93 1747
http://www.projektkompetenz.de
--------------------------------------







reply via email to

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