[Zope-dev] Re: Demostorage w/ ZEO broken again?

Tres Seaver tseaver at palladion.com
Thu Jul 27 18:07:41 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Theune wrote:
Christian Theune wrote:
> Is Demostorage w/ ZEO broken in 2.9 again? I just hit that again ...
> 
> That's on (Zope 2.9.3-, python 2.4.3, linux2)
> 
> Error is:
> 
>   File "/usr/local/Zope-2.9.3/lib/python/ZODB/BaseStorage.py", line 108,
> in __init__
>     self._oid = base._oid
> AttributeError: 'ClientStorage' object has no attribute '_oid'
> 
> 
> I had a somewhat working fix for that on Zope 3.2/3.3 but Jim thought
> just making it ignore the _oid attribute isn't the right thing to do --
> and he might be right, I don't know.
> 
> @Tres: Didn't you tame that beast already a while ago? :)
> 
> Cheers,
> Christian
> 


- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
> Is Demostorage w/ ZEO broken in 2.9 again? I just hit that again ...
> 
> That's on (Zope 2.9.3-, python 2.4.3, linux2)
> 
> Error is:
> 
>   File "/usr/local/Zope-2.9.3/lib/python/ZODB/BaseStorage.py", line 108,
> in __init__
>     self._oid = base._oid
> AttributeError: 'ClientStorage' object has no attribute '_oid'
> 
> 
> I had a somewhat working fix for that on Zope 3.2/3.3 but Jim thought
> just making it ignore the _oid attribute isn't the right thing to do --
> and he might be right, I don't know.
> 
> @Tres: Didn't you tame that beast already a while ago? :)

After 2.9.3 (but just barely)::

$ cd projects/Zope-CVS/ZODB-3_6-branch
$ svn log src/ZODB/BaseStorage.py | head
- ------------------------------------------------------------------------
r68676 | tseaver | 2006-06-15 19:33:51 -0400 (Thu, 15 Jun 2006) | 7 lines

DemoStorage was unable to wrap base storages without an '_oid' attribute

o Most notably, ZEO.ClientStorage
(http://www.zope.org/Collectors/Zope/2016).

o Forward-ported from 3.4 branch.




Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEyTkt+gerLs4ltQ4RAt9aAJ0WU3inxXHl3xmTHcO9xIHLYxtPFwCeI5zj
npsq6ekS35fsjlWsMHzml+8=
=b/8W
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list