[Zope-ZEO] DB instance error
Jim Fulton
jim@digicool.com
Wed, 13 Dec 2000 19:08:09 -0500
"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