[ZODB-Dev] Occasional startup errors in serialize.py/_reconstructor

Andreas Jung lists at zopyx.com
Mon May 9 08:34:11 EDT 2011


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

Hanno Schlichting wrote:
> On Mon, May 9, 2011 at 2:08 PM, Andreas Jung <lists at zopyx.com> wrote:
>> Jup - basically a stripped down version of
>>
>> http://svn.plone.org/svn/collective/collective.examples.userdata/trunk/collective/examples/userdata/
> 
> Hhm, that code has
> http://svn.plone.org/svn/collective/collective.examples.userdata/trunk/collective/examples/userdata/profiles/default/componentregistry.xml
> 
> which ends up storing an instance of the object inside the ZODB.
> 
> I'm not sure what happens there exactly. The object should definitely
> inherit from persistent, if you want to store it in the ZODB. As it is
> now, it might only accidentally get stored at all, if the local site
> managers _utility_registrations object gets _p_changed set to True.
> 
> In any case just putting in persistent into the base classes should be
> the easiest fix.

The question is more why this error is happening from time to time after
the startup after the first request - this scares me a bit. I also
encounter a strange issues with PTS from time to time after
startup...but not as frequent as this one...

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJNx99DAAoJEADcfz7u4AZj638Lv1+PerDPHOXWADRgbzWoptab
86dSjDfj460ox3PpXGogGToV4pZae//bKhzQA3ALcOFtxwHxDxi7KIxjvEkvLmCW
GTZNr8dgOg9Gh7ZBh3kkbrkDP3mjXTsotX4ROvxCcka8mnavxCV6juaCrlZrkxaJ
HnQ/duxb64pS/TpSibdmRdOZnvLH9pWMySoqUc92nkpga0kz5I3kI2Yw+eBOas3+
ZJKvB3M00YVoLCr9JqWAeZY7/ptXohLc+fTSorDug4noZyrQIv9h+06jbOnFNS72
P6CJ5elyDBtFOWMyERRvRbbHpCsaux7U6JgSJf3Jm5fKeDP2W/SmwNX10lZFLetD
YU6RE8faFziLknlfEJ9nQ6rqKiVL/02fchNMWifOlFMr08dQliGo6cfpbiByKshC
Lwnb6LI83ZP+IR4vy3Imorvj3fsAEEpW5pzVcxmsbPSr4McHlinsBYXZkSC1f09U
m3Xd/vvRS1nTsbJnTDHN0whpxIOdPNc=
=Zuyg
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20110509/fe9b0a0e/attachment.vcf 


More information about the ZODB-Dev mailing list