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...).