Hello, Please excuse the wordiness of this post. I have recently truied to install Zope 2.6.2 on Debian using apt. I updated all the prerequisites such as python libc6 etc so that it could be used with Zope. Zope installed fine. However when I run Zope, the command line seemed to indicate that it was ok loading, but there was no web site uising the ports... To cut the long story short, I went into debug mode and to my horror I found this below... It sseems to be a mismatch with python......which I am really baffled. I am just starting to experiment with this, and just would like to know what was up with it. Any help appreciated. TIa, Wei-Yen______________________________________________ /usr/lib/zope/ZServer/medusa/test/max_sockets.py:53: DeprecationWarning: integer argument expected, got float for i in range(1 + len(sl) * 0.05): /usr/lib/zope/lib/python/ZPublisher/BaseRequest.py:21: RuntimeWarning: Python C API version mismatch for module ExtensionClass: This Python has API version 1012, module ExtensionClass has version 1011. from ExtensionClass import Base /usr/lib/zope/ZServer/medusa/test/max_sockets.py:53: DeprecationWarning: integer argument expected, got float for i in range(1 + len(sl) * 0.05): /usr/lib/zope/lib/python/ZPublisher/BaseRequest.py:21: RuntimeWarning: Python C API version mismatch for module ExtensionClass: This Python has API version 1012, module ExtensionClass has version 1011. from ExtensionClass import Base /usr/lib/zope/lib/python/DocumentTemplate/DT_Var.py:163: RuntimeWarning: Python C API version mismatch for module Acquisition: This Python has API version 1012, module Acquisition has version 1011. from Acquisition import aq_base /usr/lib/zope/lib/python/AccessControl/ZopeSecurityPolicy.py:27: RuntimeWarning: Python C API version mismatch for module cAccessControl: This Python has API version 1012, module cAccessControl has version 1011. from cAccessControl import ZopeSecurityPolicy /usr/lib/zope/lib/python/AccessControl/SimpleObjectPolicies.py:20: RuntimeWarning: Python C API version mismatch for module Record: This Python has API version 1012, module Record has version 1011. import Record /usr/lib/zope/lib/python/ZODB/__init__.py:18: RuntimeWarning: Python C API version mismatch for module TimeStamp: This Python has API version 1012, module TimeStamp has version 1011. import cPersistence, Persistence /usr/lib/zope/lib/python/ZODB/__init__.py:18: RuntimeWarning: Python C API version mismatch for module cPersistence: This Python has API version 1012, module cPersistence has version 1011. import cPersistence, Persistence /usr/lib/zope/lib/python/ZODB/Connection.py:20: RuntimeWarning: Python C API version mismatch for module cPickleCache: This Python has API version 1012, module cPickleCache has version 1011. from cPickleCache import PickleCache, MUCH_RING_CHECKING /usr/lib/zope/lib/python/ZODB/Connection.py:25: RuntimeWarning: Python C API version mismatch for module coptimizations: This Python has API version 1012, module coptimizations has version 1011. from coptimizations import new_persistent_id /usr/lib/zope/lib/python/Globals.py:23: RuntimeWarning: Python C API version mismatch for module ComputedAttribute: This Python has API version 1012, module ComputedAttribute has version 1011. import Acquisition, ComputedAttribute, App.PersistentExtra, os /usr/lib/zope/lib/python/App/special_dtml.py:14: RuntimeWarning: Python C API version mismatch for module MethodObject: This Python has API version 1012, module MethodObject has version 1011. import DocumentTemplate, Common, Persistence, MethodObject, Globals, os, sys ------ 2003-11-26T01:14:02 PANIC(300) z2 Startup exception Traceback (innermost last): File z2.py, line 593, in ? (Object: ZLogger) File /usr/lib/zope/lib/python/Zope/__init__.py, line 45, in startup File /usr/lib/zope/lib/python/Zope/App/startup.py, line 24, in ? (Object: LOG) File /usr/lib/zope/lib/python/AccessControl/User.py, line 22, in ? File /usr/lib/zope/lib/python/OFS/SimpleItem.py, line 27, in ? File /usr/lib/zope/lib/python/OFS/CopySupport.py, line 535, in ? (Object: unquote) File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line 474, in __call__ (Object: <string>) File /usr/lib/zope/lib/python/DocumentTemplate/pDocumentTemplate.py, line 204, in render_blocks File /usr/lib/zope/lib/python/DocumentTemplate/pDocumentTemplate.py, line 142, in __getitem__ File /usr/lib/zope/lib/python/DocumentTemplate/pDocumentTemplate.py, line 102, in __getitem__ KeyError: "'v'" tcs1:/usr/lib/zope# This Python has API version 1012, module ExtensionClass has version 1011. bash: This: command not found tcs1:/usr/lib/zope#
Go to zope.org, download the source distribution and build that. It's much easier than trying to troubleshoot someone else's packaging. jens On Nov 25, 2003, at 7:28, Wei-Yen Tan wrote:
Hello,
Please excuse the wordiness of this post. I have recently truied to install Zope 2.6.2 on Debian using apt. I updated all the prerequisites such as python libc6 etc so that it could be used with Zope. Zope installed fine.
However when I run Zope, the command line seemed to indicate that it was ok loading, but there was no web site uising the ports...
To cut the long story short, I went into debug mode and to my horror I found this below...
It sseems to be a mismatch with python......which I am really baffled. I am just starting to experiment with this, and just would like to know what was up with it. Any help appreciated.
TIa,
Wei-Yen
Wei-Yen Tan wrote at 2003-11-26 01:28 +1300:
... It sseems to be a mismatch with python......which I am really baffled. I am just starting to experiment with this, and just would like to know what was up with it. Any help appreciated.
You are right. You are running Python 2.3.x while your Zope has been build with Python 2.2.x.
... Python C API version mismatch for module ExtensionClass: This Python has API version 1012, module ExtensionClass has version 1011. from ExtensionClass import Base
As Jens already pointed out: It is probably best to build Zope yourself. -- Dieter
participants (3)
-
Dieter Maurer -
Jens Vagelpohl -
Wei-Yen Tan