[Zope] ZEO-startup-exception with Zope-2.6

Maik Jablonski maik.jablonski@uni-bielefeld.de
Sat, 23 Nov 2002 09:13:14 +0100


Hi,

I'm playing with ZEO2.0 and Zope-2.6 [CVS] [all running on the same 
machine for testing purposes as desribed in the ZopeBook]. I've 
installed ZEO as described in the ZopeREADME.txt and started the 
ZEO-Server with:

python2.1 /Zope/lib/python/ZEO/start.py -p 7700

The server works without any problems.

Then I created a custom_zodb.py in my ZEO-Clients-Root:

import ZEO.ClientStorage
Storage=ZEO.ClientStorage.ClientStorage(('127.0.0.1',7700))

When I start my ZEO-Client, I get this error:

python2.1 /ZopeClient/z2.py -D

------
2002-11-23T09:09:15 INFO(0) ZCS:1010 ClientStorage (pid=1010) created 
RW/normal for storage: '1'
------
2002-11-23T09:09:15 INFO(0) ZEC ClientCache: storage='1', size=20971520; 
file[0]=None
------
2002-11-23T09:09:15 INFO(0) ZCS:1010 Testing connection 
<ManagedConnection ('127.0.0.1', 7700)>
------
2002-11-23T09:09:15 INFO(0) ZCS:1010 Connected to storage
------
2002-11-23T09:09:15 PANIC(300) z2 Startup exception
Traceback (innermost last):
   Module __main__, line 582, in ?
   Module Zope, line 46, in startup
   Module Zope.App.startup, line 86, in startup
   Module ZODB.ZApplication, line 30, in __init__
   Module ZODB.DB, line 463, in open
   Module ZODB.Connection, line 209, in _setDB
AttributeError: ClientStorage instance has no attribute 'sortKey'

What's wrong with it? What's the problem with the 'sortKey'?

TYI, maik

-- 
German Zope User Group
http://www.dzug.org/