[Zope-ZEO] RE: Re: [Zope-ZEO] DB instance error

nw_moriarty Last Name nw_moriarty@my-deja.com
Thu, 14 Dec 2000 12:46:15 -0800


Jim

Thanks for the hint.  I looked into it and it seems that cPickle is 
compiled into Python or Zope.  I was trying to install Andrew's 
stand alone ZODB which has cPickle 1.1.  The version with Zope-2.2.2 
is 1.72.  I renamed all the cPickle.so files to MajorJunk but can
still import cPickle with version 1.63.

Nigel

>"Nigel W. Moriarty" wrote:
>> 
>> I recieved an error when trying to create a DB using ZEO storage.  Any hints what my problem is?
>> 
>> Nigel
>> 
>> >>> from ZEO import ClientStorage
>> >>> from ZODB import DB
>> >>> storage = ClientStorage.ClientStorage( ('legless', 1972) )
>> >>> db = DB( storage )
>> Traceback (innermost last):
>>   File "<stdin>", line 1, in ?
>>   File "/usr/local/Python-1.5.2-thread/lib/python1.5/site-packages/ZODB/DB.py", line 155, in __init__
>>     storage.tpc_begin(t)
>>   File "ZEO/ClientStorage.py", line 458, in tpc_begin
>>     try: r=self._call(self.__begin, id, user, desc, ext)
>>   File "ZEO/zrpc.py", line 194, in __call__
>>     if type(r) is TupleType: raise r[0], r[1]
>> AttributeError: find_global
>
>You are getting the wrong version of cPickle.
>You need to copy/link the cPickle extension into your
>ZEO directory.
>
>Jim
>
>--
>Jim Fulton           mailto:jim@digicool.com   Python Powered!        
>Technical Director   (888) 344-4332            http://www.python.org  
>Digital Creations    http://www.digicool.com   http://www.zope.org
>
>_______________________________________________
>Bug reports, feature requests, etc. go in the ZEO Tracker:
>http://www.zope.org/Products/ZEO/Tracker
>
>Conversations etc. can take place in the Wiki:
>http://www.zope.org/Products/ZEO/Wiki
>
>Zope-ZEO maillist  -  Zope-ZEO@zope.org
>http://lists.zope.org/mailman/listinfo/zope-zeo




------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/