[Zope] AssertionError after update to Zope 2.8.1

Tim Peters tim.peters at gmail.com
Wed Aug 24 13:29:47 EDT 2005


[Ricardo Newbery]
> Oh so close...
>
> Migrated from Zope 2.7.2 to 2.8.1
> Updated all the Catalog instances according to the instructions.
> Fixed a few outdated products.
> 
> Then just for kicks, I tried to update the Python scripts by visiting
> the /manage_addProduct/PythonScripts/recompile url.  After about a
> minute, it threw up an error page.  This is what shows up in the
> log...
>
>
> 2005-08-21T01:56:45 ERROR txn.170046464 Error in abort() on manager <Connection at 0956724c>
> Traceback (most recent call last):
>   File "/Zope-2.8/lib/python/transaction/_transaction.py", line 456, in _cleanup
>   File "/Zope-2.8/lib/python/ZODB/Connection.py", line 348, in abort
>   File "/Zope-2.8/lib/python/ZODB/Connection.py", line 360, in _abort
> AssertionError
> ------
> 2005-08-21T01:56:45 ERROR Zope.SiteErrorLog
> http://someurl.com/manage_addProduct/PythonScripts/recompile
> Traceback (most recent call last):
>   File "/Zope-2.8/lib/python/ZPublisher/Publish.py", line 119, in publish
>   File "/Zope-2.8/lib/python/Zope2/App/startup.py", line 215, in commit
>   File "/Zope-2.8/lib/python/transaction/_manager.py", line 84, in commit
>   File "/Zope-2.8/lib/python/transaction/_transaction.py", line 381, in commit
>   File "/Zope-2.8/lib/python/transaction/_transaction.py", line 379, in commit
>   File "/Zope-2.8/lib/python/transaction/_transaction.py", line 424, in _commitResources
>   File "/Zope-2.8/lib/python/ZODB/Connection.py", line 462, in commit
>   File "/Zope-2.8/lib/python/ZODB/Connection.py", line 483, in _commit
> AssertionError
>
> ...

Note that someone else (I think) opened a Collector issue against what
appears to be a very similar problem:

    http://www.zope.org/Collectors/Zope/1874

As I noted there, it would be helpful if someone who sees this problem
added some prints at the point of the failing assert, so we could at
least learn the type/class of the object without an oid.


More information about the Zope mailing list