When I try to start ZEO and Zope using ./zctl.py start it seems that only the ZEO Server starts. I get this in the Zope log file: ------ 2003-09-18T16:55:24 INFO(0) zdaemon Started subprocess: pid 11661 ------ 2003-09-18T16:55:26 INFO(0) ZCS:11661 ClientStorage (pid=11661) created RW/normal for storage: '1' ------ 2003-09-18T16:55:26 INFO(0) ZEC ClientCache: storage='1', size=20971520; file[0]=None ------ 2003-09-18T16:55:26 INFO(0) ZCS:11661 Testing connection <ManagedConnection ('127.0.0.1', 5800)> ------ 2003-09-18T16:55:26 INFO(0) ZCS:11661 Connected to storage ------ 2003-09-18T16:55:26 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/Zope/z2.py, line 585, in ? File /usr/local/Zope-2.6.2-src/lib/python/Zope/__init__.py, line 46, in startup (Object: startup) File /usr/local/Zope-2.6.2-src/lib/python/Zope/App/startup.py, line 87, in startup (Object: ('', 5800)) File /usr/local/Zope-2.6.2-src/lib/python/ZODB/ZApplication.py, line 30, in __init__ File /usr/local/Zope-2.6.2-src/lib/python/ZODB/DB.py, line 477, in open File /usr/local/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 227, in _setDB AttributeError: ClientStorage instance has no attribute 'sortKey' I installed python-2.1.3 from source. I have been following these directions: http://www.zope.org/Members/dshaw/AdvancedSiteSetup to setup ZEO-2.0 and these directions: http://www.zope.org/Members/beacon/install_instructions to setup Zope-2.6.2-src. How do I fix this and get Zope and ZEO to run on the same machine? Thanks in advance Jet
Jet Wilda wrote at 2003-9-18 16:47 -0400:
... File /usr/local/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 227, in _setDB AttributeError: ClientStorage instance has no attribute 'sortKey'
This looks like somehow an old ZEO version has krept in? We use Zope-2.6.2 with its integrated ZEO (from CVS) and do not see this problem. Dieter
Dieter Maurer wrote:
Jet Wilda wrote at 2003-9-18 16:47 -0400:
... File /usr/local/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 227, in _setDB AttributeError: ClientStorage instance has no attribute 'sortKey'
This looks like somehow an old ZEO version has krept in?
We use Zope-2.6.2 with its integrated ZEO (from CVS) and do not see this problem.
Does ZEO ship with the released version of 2.6.2? cheers, Chris
This error comes from Zope Database Adapters who register for transactions. The DA's all have to be adjusted to provide the sortKey method or the warning will be issued. Chris Withers wrote:
Dieter Maurer wrote:
Jet Wilda wrote at 2003-9-18 16:47 -0400:
... File /usr/local/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 227, in _setDB AttributeError: ClientStorage instance has no attribute 'sortKey'
This looks like somehow an old ZEO version has krept in?
We use Zope-2.6.2 with its integrated ZEO (from CVS) and do not see this problem.
Does ZEO ship with the released version of 2.6.2?
cheers,
Chris
_______________________________________________ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
-- Matt Kromer Zope Corporation http://www.zope.com/
Chris Withers wrote at 2003-9-25 13:21 +0100:
... Dieter Maurer wrote:
We use Zope-2.6.2 with its integrated ZEO (from CVS) and do not see this problem.
Does ZEO ship with the released version of 2.6.2?
I do not know. We use Zope from CVS ("2_6 branch") and there ZEO is integrated since 2.6. Dieter
participants (5)
-
Anthony Baxter -
Chris Withers -
Dieter Maurer -
Jet Wilda -
Matthew T. Kromer