[Zope] Can't start Zope

Andreas Jung lists@andreas-jung.com
Tue, 13 Aug 2002 20:15:32 +0200


Running Zope with Python 2.2 is *not* supported.

-aj
----- Original Message ----- 
From: "Sabine Richter" <sabine@textraeume.de>
To: <zope@zope.org>
Sent: Tuesday, August 13, 2002 19:58
Subject: [Zope] Can't start Zope


> Hello,
> 
> I'm new to this list and have my first question:
> Zope won't start and I have no idea, what's wrong. May anybody give me a
> hint?
> 
> I installed Zope 2.5.1 and 2.5 on Win XP prof.
> My Python version is 2.2.1 and I never had an older one on this system.
> I get the same error messages wether I run 2.5.1 start.bat or 2.5
> start.bat.
> But there are differences in using zope-python.exe or python-python.exe:
> 
> start.bat:
> MYZOPEDIR\bin\python.exe MYZOPEDIR\z2.py -D %1 %2 %3 %4 %5 %6 %7 %8 %9
> 
> error:
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>   File "MYZOPEDIR\z2.py", line 540, in ?
>     import ZServer
>   File "P:\ZOPE25~1\ZServer\__init__.py", line 26, in ?
>     from medusa import asyncore
>   File "P:\ZOPE25~1\ZServer\medusa\asyncore.py", line 50, in ?
>     import select
> ImportError: Module use of python22.dll conflicts with this version of
> Python.
> 
> 
> ----------------------------------------------------------------
> start.bat:
> MYPYTHONDIR\python.exe MYZOPEDIR\z2.py -D %1 %2 %3 %4 %5 %6 %7 %8 %9
> 
> error:
> Traceback (most recent call last):
>   File "MYZOPEDIR\z2.py", line 540, in ?
>     import ZServer
>   File "MYZOPEDIR\ZServer\__init__.py", line 80, in ?
>     from HTTPServer import zhttp_server, zhttp_handler
>   File "MYZOPEDIR\ZServer\HTTPServer.py", line 43, in ?
>     from PubCore import handle
>   File "MYZOPEDIR\ZServer\PubCore\__init__.py", line 14, in ?
>     import ZRendezvous
>   File "MYZOPEDIR\ZServer\PubCore\ZRendezvous.py", line 15, in ?
>     from ZServerPublisher import ZServerPublisher
>   File "MYZOPEDIR\ZServer\PubCore\ZServerPublisher.py", line 13, in ?
>     from ZPublisher import publish_module
>   File "MYZOPEDIR\lib\python\ZPublisher\__init__.py", line 23, in ?
>     from Publish import publish_module, Retry
>   File "MYZOPEDIR\lib\python\ZPublisher\Publish.py", line 19, in ?
>     from Response import Response
>   File "MYZOPEDIR\lib\python\ZPublisher\Response.py", line 13, in ?
>     import HTTPResponse
>   File "MYZOPEDIR\lib\python\ZPublisher\HTTPResponse.py", line 91, in ?
>     start_of_header_search=re.compile('(<head[^>]*>)',
> re.IGNORECASE).search
> AttributeError: 'module' object has no attribute 'compile'
> 
> 
> Thanks in advance
> Sabine
> 
> _______________________________________________
> 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 )