[Zope] CompilerError when importing into 2.5

Dieter Maurer dieter@handshake.de
Fri, 29 Mar 2002 12:40:15 +0100


marc lindahl writes:
 > 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', '')"

Looks like a missing "python:" in a Page Template. Unfortunately,
the Traceback does not tell which one.

Fortunately, Shane is working on better tracebacks for ZPT :)


Dieter