ValueError: Cache values may only be in one cache.
This Error Reference applies to:
Any version.
This Error Reference is intended for:
Any audience.
It can look like this:
Traceback (innermost last):
* Module ZPublisher.Publish, line 107, in publish
* Module Zope.App.startup, line 222, in commit
* Module ZODB.Transaction, line 236, in commit
* Module ZODB.Transaction, line 351, in _commit_objects
* Module ZODB.Connection, line 423, in commit
__traceback_info__: (('BTrees.IOBTree', 'IOBTree'), '\x00\x00\x00\x00\x00\x00\x00\n', '')
ValueError: Cache values may only be in one cache.
Error appears in Plone 2.5
------
2006-10-05T20:02:27 ERROR Zope.SiteErrorLog http://projects.zestsoftware.nl:9080/projects.zestsoftware.nl/portal_catalog/manage_catalogRebuild
Traceback (innermost last):
Module ZPublisher.Publish, line 121, in publish
Module Zope2.App.startup, line 240, in commit
Module transaction._manager, line 96, in commit
Module transaction._transaction, line 380, in commit
Module transaction._transaction, line 378, in commit
Module transaction._transaction, line 433, in _commitResources
Module ZODB.Connection, line 484, in commit
Module ZODB.Connection, line 526, in _commit
Module ZODB.Connection, line 560, in _store_objects
ValueError: Cache values may only be in one cache.
-----
I restarted and then did a clear and rebuild again. That got rid of the error.
Occurring in Plone 2.5.1
Same problem...
It happens when running zope-2.9+ and 2.5
Get rid of it without restarting Zope
Also getting this error
I'm running Plone 2.5.2 and Zope 2.9.6
Zope refresh no longer supported.
This is a Zope matter, not a Plone problem.
Persistency bug
Dieter Mauer says on the archetypes-devel and zope-coders mailing lists:
This is a persistency bug.
It happens when you bring the same persistent object into different connection contexts.
Prime causes are persistent objects defined at module or class level and then changed in a connection.
Archetypes 1.3.1 should no longer have persistency bugs of this kind. At least, I am able to refresh Archetypes based products (although I nevered tried auto refresh).