Re: ValueError: Cache values may only be in one cache

Nate Aune <[email protected]>
Newsgroups gmane.comp.web.zope.zodb,gmane.comp.web.zope.plone.archetypes.devel,gmane.comp.web.zope.coders
Message-ID <BE13C6D0.114B4%[email protected]>
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%[email protected], Nate Aune at
[email protected] 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 - [email protected]
Plone4Artists - http://plone4artists.org
"Build your own artist community website!"


_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  [email protected]
http://mail.zope.org/mailman/listinfo/zodb-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.