[Zope] ZEO-startup-exception with Zope-2.6
Maik Jablonski
maik.jablonski@uni-bielefeld.de
Sun, 24 Nov 2002 00:31:31 +0100
Hi Jens,
thank you so much... now it works out of the box without problems..:-)
To summarize this thread: If someone wants to use ZEO with latest Zope
2.6, DON'T use the official released ZEO 2.0, instead use:
http://cvs.zope.org/ZEO/?only_with_tag=ZODB3-3_1-branch
cheers, maik
Jens Vagelpohl wrote:
> 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/