[ZODB-Dev] Reloading product in 2.8

Dieter Maurer dieter at handshake.de
Thu Jul 14 16:36:21 EDT 2005


Victor Safronovich wrote at 2005-7-12 18:17 +0600:
>My  product has 'Auto refresh mode' option checked.
>
>I  changed  some  source  code  of  my product, after that autorefresh have been
>occured.
>And after autorefresh I got strange several errors:
> ...
>    self._store_objects(ObjectWriter(obj), transaction)
>  File "C:\Program Files\Zope-2.8.0-final\lib\python\ZODB\Connection.py", line 534, in _store_objects
>    self._cache[oid] = obj
>ValueError: Cache values may only be in one cache.

I have seen this problem report for Zope 2.7 as well (in the mailing list).

Obviously, the "auto refresh mode" implementation contains a
persistency bug -- and not only since Zope 2.8...

-- 
Dieter


More information about the ZODB-Dev mailing list