[Zope-CMF] KeyError: main_template when upgrading to CMF 1.3.2

Dieter Maurer dieter at handshake.de
Wed Sep 10 23:52:21 EDT 2003


Tim Terlegård wrote at 2003-9-10 13:29 +0200:
 > I get an error after upgrading to CMF 1.3.2:
 > 
 > Error Type: KeyError
 > Error Value: main_template

When will you learn to look at tracebacks?

     --> <http://<yourZope>/error_log>

 > In debug mode I get
 > the following when Zope starts:
 > "ZODB Could not import class 'URLTool' from module 'Products.CMFCore.URLTool'"

That does not look good.

"URLTool" has been part of "CMFDefault" and has been moved
to "CMFCore" (I think for CMF 1.3, maybe 1.3.1).

Your CMF installation seems to be inconsistent.

Activate Zope logging (--> doc/LOGGING.txt), restart Zope
and see whether you find more details in the log file.


Dieter



More information about the Zope-CMF mailing list