[Zope] Re: zope2.6.4/python2.2 doesn't restart after crash, with python2.1 it does

Jonas Meurer jonas at freesources.org
Tue Nov 9 10:17:02 EST 2004


On 09/11/2004 Tres Seaver wrote:
> >as zope packages depend on python2.2 packages, i'm sure that pyton2.2 is
> >packaged appropriately for zope.
> 
> Not necessarily;  the Python package maintainer may not actively know 
> about Zope.

at least zope maintainers should verify this.

> Try the following:
> 
>   $ for x in 1, 2; do \
>   /usr/bin/python2.$x /usr/lib/python2.$x/tests/test_largefile \
>   done

debian doesn't shup test_largefile with the packages, so i grepped it
from python2.2.3 sources and copied it to
/usr/lib/python2.*/test/test_largefile

both runs gave only ...yes ouptuts, so i assume that largefile support
is compiled into python packages.

> If either of those tests fail, that would be one explanation, especially 
> if your Data.fs is larger than 2 Gb.  I *do* recommend compiling your 
> own Python, at least to test whether it helps.

ok, i finally compiled python2.2 sources, after configuring them with:
h:/opt/Python-2.2.3# ./configure --prefix=/opt --with-fpectl --enable-ipv6
# make
# make install

then i installed zope 2.6.4 from sources, using this python:
h:/opt/Zope-2.6.4-src# /opt/bin/python2.2 wo_pcgi.py
# chown root.zope var
# mkdir var/log
# chown zope.zope var/*
# chmod o+t var
# gzip -dc ../TinyTablePlus-0.9.tgz | tar -xf -
# export EVENT_LOG_FILE="$basedir/var/log/Z2-event.log"
# export EVENT_LOG_SEVERITY="-100"
# export Z_REALM="KNOW-IT CMS"
# export ZOPE_SECURITY_POLICY="PYTHON"
# /opt/bin/python2.2 ./z2.py -a 127.0.0.1 -d 127.0.0.1 \
	-u zope -w 9680 -W - -f 9621 -p - -F - -m - -l log/Z2.log \
	-M log/Z2-detailed.log
#

after doing that, i contact to http://localhost:9680/, import some
products into Control_Panel/Products and our application into the
Root Folder, run the process that causes zope to crash, 
and _.oO_it_crashs_0o._

so now i'm absolutely sure that it's not a matter of python version. i
tried python2.1 and python2.2 from debian, and python2.2 compiled from
sources, and all fail.

bye
 jonas


More information about the Zope mailing list