[Zope] Zope Debugger -> ImportError
Steve Spicklemire
steve@spvi.com
Sun, 19 May 2002 15:10:39 -0500
Hi Jens,
Just a guess. You should be getting python 2.1.x not 1.5.2. ... try:
cd $ZOPE_HOME/lib/python
./python
import Zope
-steve
On Sunday, May 19, 2002, at 11:06 AM, Jens Wolk wrote:
> Hi everybody,
>
> I try to set up a Zope debugger as described in
> http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend
>
> I tried it with installations of Zope 2.4.0, 2.5.0 and 2.5.1 (followed
> the
> instructions in INSTALL.txt) but I end up always with the same error:
>
> cd $ZOPE_HOME/lib/python
> python
>
> Python 1.5.2 (#1, Mar 3 2001, 01:35:43) [GCC 2.96 20000731 (Red Hat
> Linux
> 7.1 2 on linux-i386
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>>> import Zope
> Traceback (innermost last):
> File "<stdin>", line 1, in ?
> File "Zope/__init__.py", line 21, in ?
> import ZODB, ZODB.ZApplication, imp
> File "ZODB/__init__.py", line 14, in ?
> import sys, ExtensionClass, TimeStamp, cPersistence, Persistence
> ImportError: ./ExtensionClass.so: undefined symbol: PyObject_Init
>
> Can anybody help?
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )