[Zope] Zope InvalidObjectReference

kosh kosh@aesaeion.com
Wed, 11 Jul 2001 15:33:40 -0600


I am getting a very strange error from one user with any webbrowser that =
they=20
try to use. On adding/modifying one of my objects they get this error wit=
h=20
this traceback.


Traceback (innermost last):
File /home/zope/Zope-2.3.3-src/lib/python/ZPublisher/Publish.py, line
223, in publish_module
File /home/zope/Zope-2.3.3-src/lib/python/ZPublisher/Publish.py, line
187, in publish
File /home/zope/Zope-2.3.3-src/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
File /home/zope/Zope-2.3.3-src/lib/python/ZPublisher/Publish.py, line
175, in publish
File /home/zope/Zope-2.3.3-src/lib/python/Zope/__init__.py, line 235,
in commit
File /home/zope/Zope-2.3.3-src/lib/python/ZODB/Transaction.py, line
300, in commit
File /home/zope/Zope-2.3.3-src/lib/python/ZODB/Connection.py, line
375, in commit
 (Info: (('Products.CompoundDoc.inputtext', 'InputText'),
'\000\000\000\000\000\000qM', ''))
InvalidObjectReference: Attempt to store an object from a foreign
database connection

The object it is referring to is one of my objects however the problem is=
=20
that no line of my code is referenced and I am not sure where to even beg=
in=20
looking.=20

To add more confusion to the situation I have used the exact same version=
s of=20
the webbrowsers that they are using with and without a squid proxy cache =
and=20
I can't duplicate that behavior. Actually in about 30 people using the si=
te=20
no one can get that behavior.=20

However, once he causes that error to occur all objects of that type act =
that=20
way until I hit refresh on the products entry in the control panel page. =
The=20
problem ends up being is that it goes away for everyone till he tries to =
use=20
it again. I was wondering if anyong has some ideas, wild guesses etc on w=
here=20
to even look to try and figure out what is going wrong. I would like to g=
ive=20
a much more detailed error description but so far I am at a loss since an=
y=20
changes I make to the code reload it and the problem goes away until he u=
ses=20
it again.=20

Zope 2.3.3 python 1.5.2 on Debian linux with 2.4.4 kernel

Browsers:
Opera 5.0 for Linux - 20010510 Build 024 -[5]
Mozilla/5.0 (X11; U; Linux 2.2.16-22 i586; en-US; 0.8.1) Gecko/20010421

He has also been using IE, mozilla, and opera 5 for windows though the ex=
act=20
version numbers I have not been able to find out.

Thanks