Weird AssertionError on History Compare in Zope 2.7.1 PythonScript
Hi, I upgraded a Zope 2.6.2 site to 2.7.1. Since then, the history tab of all my old Script(Python)'s is broken. If I try to do a compare between two versions, or just view a historical revision, I get the following error: 2004-06-30T17:41:22 ERROR(200) SiteError http://localhost:8001/myScript/HistoricalRevisions/848.5934.59436.15445 Traceback (most recent call last): File "e:\Zope\2.7.1\lib\python\ZPublisher\Publish.py", line 92, in publish object=request.traverse(path, validated_hook=validated_hook) File "e:\Zope\2.7.1\lib\python\ZPublisher\BaseRequest.py", line 328, in traver se try: subobject=object[entry_name] File "e:\Zope\2.7.1\lib\python\OFS\History.py", line 67, in __getitem__ rev=historicalRevision(self, serial) File "e:\Zope\2.7.1\lib\python\OFS\History.py", line 52, in historicalRevision rev.__setstate__(state) File "e:\Zope\2.7.1\lib\python\Products\PythonScripts\PythonScript.py", line 2 17, in __setstate__ self._body = body + '\n' File "E:\Zope\2.7.1\lib\python\ZODB\Connection.py", line 534, in register assert object._p_jar is self Script (Python)'s I've created since the upgrade are fine, but any old ones that were around have a buggered history. I figure this is a bug of some sort, but thought I'd ask here too. The bug report is at: http://zope.org/Collectors/Zope/1394 ...if anyone would prefer to follow up in the collector... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Did you try to recompile the PythonScripts? Stefan On Mittwoch, Jun 30, 2004, at 18:52 Europe/Vienna, Chris Withers wrote:
I upgraded a Zope 2.6.2 site to 2.7.1. Since then, the history tab of all my old Script(Python)'s is broken.
-- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/
Yes. And then undo=ing the recompilation in case it cause this. And then re-doing it again. Either way, the error remains the same. Chris Stefan H. Holek wrote:
Did you try to recompile the PythonScripts?
Stefan
On Mittwoch, Jun 30, 2004, at 18:52 Europe/Vienna, Chris Withers wrote:
I upgraded a Zope 2.6.2 site to 2.7.1. Since then, the history tab of all my old Script(Python)'s is broken.
-- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (2)
-
Chris Withers -
Stefan H. Holek