-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christian Theune wrote: > Hi, > > I'm preparing a presentation and marketing campaign for Zope 3 for the > next weeks linux fair in here in Germany. I'm demonstrating a couple of > things and was trying to use DemoStorage with ClientStorage on a Zope > 3.2 server today. However, it didn't work and crashed with this message > and traceback (partially given): > > File "/home/ctheune/Development/Zope-3.2/src/ZODB/DemoStorage.py", > line 94, in __init__ > BaseStorage.__init__(self, name, base) > File "/home/ctheune/Development/Zope-3.2/src/ZODB/BaseStorage.py", > line 108, in __init__ > self._oid = base._oid > AttributeError: 'ClientStorage' object has no attribute '_oid' > > > Is this something that > > - should not be broken > - should be fixed > - is known > > ? > > I'd fix it if someone gave me a quick hint on what is wrong.
Smells like a fix didn't get forward-ported somehow -- that looks like the same error I helped Tim find and fix for Zope 2. CC'ing the ZODB list just in case anyone there has a better memory. Here is the NEWS.txt entry for that fix: DemoStorage ----------- - (3.4a4) Appropriate implementations of the storage API's ``registerDB()`` and ``new_oid()`` methods were added, delegating to the base storage. This was needed to support wrapping a ZEO client storage as a ``DemoStorage`` base storage, as some new Zope tests want to do. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFETu39+gerLs4ltQ4RAtGBAJ0Thb6eJPegItQr9HDHvtskfXsIJwCfSgRM 0V1ma6vIS67f/Osxko7wkNc= =9S/w -----END PGP SIGNATURE----- _______________________________________________ Zope3-dev mailing list [email protected] Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
