[Zope-CMF] From the 'So close but so far' Department
Chris McDonough
chrism@digicool.com
Mon, 30 Apr 2001 18:42:05 -0400
Hi Jeff,
Are you using a mounted database by any chance?
Jeff Sasmor wrote:
>
> While trying to debug my "Blark" product I periodically run into the
> following error when trying to create a new posting. Once it occurs,
> it continues to occur (that is, trying to create a new posting produces the
> same message) until Zope is restarted or the Blark product is restarted
> (using the nifty Refresh product). Adding a Document from the
> Add Content page works fine even while the state is 'stuck' in
> InvalidObjectRefrence .
>
> I looked in the source but it's beyond my Zope Zen by a wide margin.
> Anyone have any idea what this means? I am using Zope 2.3.2 b2.
> I don't see anything that was changed in the 2.3.2 final that would
> impact this (whatever the &%*^% it is).
>
> ----------------------------------------------------------------------------
> -------------
> Error Type: InvalidObjectReference
> Error Value: Attempt to store an object from a foreign database connection
>
> Traceback (innermost last):
> File /usr/local/YB-Z232b2/lib/python/ZPublisher/Publish.py, line 223, in
> publish_module
> File /usr/local/YB-Z232b2/lib/python/ZPublisher/Publish.py, line 187, in
> publish
> File /usr/local/YB-Z232b2/lib/python/Zope/__init__.py, line 221, in
> zpublisher_exception_hook
> (Object: Traversable)
> File /usr/local/YB-Z232b2/lib/python/ZPublisher/Publish.py, line 175, in
> publish
> File /usr/local/YB-Z232b2/lib/python/Zope/__init__.py, line 235, in commit
> File /usr/local/YB-Z232b2/lib/python/ZODB/Transaction.py, line 300, in
> commit
> File /usr/local/YB-Z232b2/lib/python/ZODB/Connection.py, line 375, in
> commit
> (Info: (('Products.CMFDefault.Document', 'Document'),
> '\000\000\000\000\000\000\'e', ''))
> InvalidObjectReference: (see above)
>
> ----------------------------------------------------------------------------
> ------------------
>
> Jeff Sasmor
> jeff@sasmor.com
> Check out http://www.naggle.com/
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests