Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47251 - Can't run zope-2.6.4 with python 2.2 or 2.3
Summary: Can't run zope-2.6.4 with python 2.2 or 2.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-08 11:31 UTC by Jan Van Uytven
Modified: 2004-04-18 14:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Van Uytven 2004-04-08 11:31:44 UTC
I can't run zope-2.6.4 with python 2.2 or python 2.3, which is required to get plone 2.0 running with zope 2.6.4 (which the zope site says is possible). If I change the version of python in the /etc/init.d/zope-2_6_4 init script Zope hangs. Running the command 'python2.3 z2.py -u zope' on the command line yields the following message:

# python2.3 z2.py -u zope
/usr/share/zope/zope-2.6.4-r1/lib/python/ZPublisher/BaseRequest.py:24: RuntimeWarning: Python C API version mismatch for module ExtensionClass: This Python has API version 1012, module ExtensionClass has version 1010.
  from ExtensionClass import Base
#



Reproducible: Always
Steps to Reproduce:
1.emerge zope-2.6.4, plone-2.0
2.cd to /usr/share/zope/zope-2.6.4-r1
3.issue command "python2.3 z2.py -u zope"

Actual Results:  
Got error message as described in "details"

Expected Results:  
Run zope.
Comment 1 Jodok Batlogg (RETIRED) gentoo-dev 2004-04-09 08:18:34 UTC
you should not run zope in the /usr/share/zope dir, create an instance with zope-config, after that you can start zope with an init-skript in /etc/init.d/instancename,

if the problem persists, reopen the bug
Comment 2 REdOG 2004-04-13 09:19:24 UTC
Zope segfaults on me with /etc/init.d/zope:python="python2.3"
Runs fine with 2.1 though.
Whats the deal; Fix this.
Comment 3 Jodok Batlogg (RETIRED) gentoo-dev 2004-04-14 15:41:34 UTC
did you set PYTHON_SLOT before emerging? (read the ebuild)
if you compiled zope with 2.1, why should it run with another python version??
Comment 4 Jodok Batlogg (RETIRED) gentoo-dev 2004-04-18 14:17:58 UTC
i can't reproduce the error. i think you compiled zope with py 2.1 and tried to run it with 2.3. plz reopen the bug if the problem persists.