[ZODB-Dev] Weird InvalidObjectReference exception :-(
Chris McDonough
chrism@zope.com
04 Oct 2002 10:34:33 -0400
Are you copying data from the main database to a session object (or a
mounted database) or vice versa? See the end of
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions.stx
.
On Fri, 2002-10-04 at 11:24, Chris Withers wrote:
> Chris Withers wrote:
> > Guido van Rossum wrote:
> >
> > I just tried enabling the logging, shortly afterwards, I got:
> >
> > 2002-10-04T16:05:44 PANIC(300)
> > Traceback (innermost last):
> > Module __main__, line 94, in ?
> > Module ZODB.Transaction, line 161, in commit
> > Module ZODB.Transaction, line 222, in commit
> > Module ZODB.Transaction, line 195, in commit
> > Module ZODB.Transaction, line 256, in _commit_objects
> > Module ZODB.Connection, line 387, in commit
> > - __traceback_info__: (('BTrees._IOBTree', 'IOBucket'),
> > '\x00\x00\x00\x00\x00
> > \x06\xd6\xc3', '')
> > InvalidObjectReference: Attempt to store an object from a foreign
> > database conne
> > ction
>
> ...worse still, I can't get rid of it now :-(
>
> I've gone back to the old ClientCache.py, cleared the environment variable and
> restarted and I'm still getting this!
>
> Restarting the storage server didn't help either.
>
> How can I find out what it is that's causing this? How can I turn that OID into
> a path or find out which line of my code is causing the problem? The traceback
> just points to a get_transaction().commit() on my part which isn't very useful :-(
>
> Heylp!
>
> Chris
>
>
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list - ZODB-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zodb-dev