[Zope] CompilerError when importing into 2.5
marc lindahl
marc@bowery.com
Tue, 26 Mar 2002 12:18:48 -0500
I'm trying to import a big object (a CMF site) from a 2.3.3 zope to a 2.5.0
zope, and I'm getting this CompilerError - anyone have a clue how to fix
this? Or maybe, a better way to move a (sub)site to a newer zope?
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: CompilerError
Error Value: Invalid variable name "kwargs.get('comment', '')"
------------------------------------------------------------------------
Troubleshooting Suggestions
* The URL may be incorrect.
* The parameters passed to this resource may be incorrect.
* A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML
source for this page.
If the error persists please contact the site maintainer. Thank you for your
patience.
Traceback (innermost last):
File /usr/local/zope/Zope-2.5/lib/python/ZPublisher/Publish.py, line 150,
in publish_module
File /usr/local/zope/Zope-2.5/lib/python/ZPublisher/Publish.py, line 114,
in publish
File /usr/local/zope/Zope-2.5/lib/python/Zope/__init__.py, line 158, in
zpublisher_exception_hook
(Object: Zope)
File /usr/local/zope/Zope-2.5/lib/python/ZPublisher/Publish.py, line 98,
in publish
File /usr/local/zope/Zope-2.5/lib/python/ZPublisher/mapply.py, line 88, in
mapply
(Object: manage_importObject)
File /usr/local/zope/Zope-2.5/lib/python/ZPublisher/Publish.py, line 39,
in call_object
(Object: manage_importObject)
File /usr/local/zope/Zope-2.5/lib/python/OFS/ObjectManager.py, line 504,
in manage_importObject
(Object: Zope)
File /usr/local/zope/Zope-2.5/lib/python/OFS/ObjectManager.py, line 525,
in _importObjectFromFile
(Object: Zope)
File /usr/local/zope/Zope-2.5/lib/python/OFS/ObjectManager.py, line 250,
in _setObject
(Object: Zope)
File /usr/local/zope/Zope-2.5/lib/python/OFS/ObjectManager.py, line 258,
in manage_afterAdd
File /usr/local/zope/Zope-2.5/lib/python/OFS/ObjectManager.py, line 258,
in manage_afterAdd
File /usr/local/zope/Zope-2.5/lib/python/OFS/ObjectManager.py, line 258,
in manage_afterAdd
File /usr/local/zope/Zope-2.5/lib/python/OFS/ObjectManager.py, line 258,
in manage_afterAdd
File /usr/local/zope/Zope-2.5/lib/python/Products/CMFDefault/Image.py,
line 167, in manage_afterAdd
File
/usr/local/zope/Zope-2.5/lib/python/Products/CMFCore/PortalContent.py, line
135, in manage_afterAdd
File /usr/local/zope/Zope-2.5/lib/python/Products/CMFCore/WorkflowTool.py,
line 537, in notifyCreated
File
/usr/local/zope/Zope-2.5/lib/python/Products/DCWorkflow/DCWorkflow.py, line
364, in notifyCreated
File
/usr/local/zope/Zope-2.5/lib/python/Products/DCWorkflow/DCWorkflow.py, line
437, in _changeStateOf
File
/usr/local/zope/Zope-2.5/lib/python/Products/DCWorkflow/DCWorkflow.py, line
524, in _executeTransition
File /usr/local/zope/Zope-2.5/lib/python/Products/CMFCore/Expression.py,
line 42, in __call__
File /usr/local/zope/Zope-2.5/lib/python/Products/PageTemplates/TALES.py,
line 163, in compile
File
/usr/local/zope/Zope-2.5/lib/python/Products/PageTemplates/Expressions.py,
line 151, in __init__
File
/usr/local/zope/Zope-2.5/lib/python/Products/PageTemplates/Expressions.py,
line 103, in __init__
CompilerError: (see above)