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

Jens Vagelpohl jens@zope.com
Sat, 23 Nov 2002 10:51:48 -0500


use the ZEO code that's on the ZODB3-3_1-branch. there were some recent 
changes to ZEO and you need to upgrade ZEO to make sure to get 
something that interoperates well with the latest zope.

jens


On Saturday, Nov 23, 2002, at 03:13 US/Eastern, Maik Jablonski wrote:

> 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/
>