[ZODB-Dev] Re: ValueError: Cache values may only be in one cache

Nate Aune natea at jazkarta.com
Wed Jan 19 08:12:00 EST 2005


Well, I found this error reference on plone.org:
http://members.plone.org/documentation/error/one_cache

"This is a low-level ZODB error that may sometimes happen when you refresh a
Product without restarting Zope. It therefore is almost never seen in
production. Restart will fix it."

But is there any way to fix it without having to do a restart?

Nate

in article BE1334BE.10E51%natea at jazkarta.com, Nate Aune at
natea at jazkarta.com wrote on 1/18/05 9:48 PM:

> Can anyone explain why Zope gives this error with I have auto-refresh mode
> enabled on an Archetypes-based product?
> 
> ------
> 2005-01-18T21:21:14 ERROR(200) SiteError
> http://127.0.0.1:6080/audiotest/Members/admin/createObject
> Traceback (most recent call last):
>   File "/Applications/Zope-2.7.4/lib/python/ZPublisher/Publish.py", line
> 107, in publish
>     transactions_manager.commit()
>   File "/Applications/Zope-2.7.4/lib/python/Zope/App/startup.py", line 222,
> in commit
>     get_transaction().commit()
>   File "/Applications/Zope-2.7.4/lib/python/ZODB/Transaction.py", line 241,
> in commit
>     ncommitted += self._commit_objects(objects)
>   File "/Applications/Zope-2.7.4/lib/python/ZODB/Transaction.py", line 356,
> in _commit_objects
>     jar.commit(o, self)
>   File "/Applications/Zope-2.7.4/lib/python/ZODB/Connection.py", line 459,
> in commit
>     try: cache[oid]=object
> ValueError: Cache values may only be in one cache.
> 
> I did a search in the Zope collector and found that it's been reported and
> still unresolved. http://zope.org/Collectors/Zope/1010
> 
> And following the link from that page to Dieter Mauer's observations:
> http://mail.zope.org/pipermail/zope-dev/2003-December/021115.html
> 
> Nate
> 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

-- 
Nate Aune - natea at jazkarta.com
Plone4Artists - http://plone4artists.org
"Build your own artist community website!"




More information about the ZODB-Dev mailing list