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

Yuppie schubbe at web.de
Wed Sep 10 15:04:13 EDT 2003


Tim Terlegård wrote:

> I get an error after upgrading to CMF 1.3.2:
> 
> Error Type: KeyError
> Error Value: main_template
> 
> I don't get any tracebacks in debug mode. In debug mode I get
> the following when Zope starts:
> "ZODB Could not import class 'URLTool' from module 'Products.CMFCore.URLTool'"
> I have no idea if these errors are related.
> 
> I tried to see what caused the error and it seems to be CMFCore.
> When I have my old CMFCore and the new CMFDefault, CMFCalendar and CMFTopic
> it works fine. The URLTool message also disappears. But if I then add the
> new CMFCore, I get both these errors.
> 
> On top of this I have Plone. The error seems to me to belong the CMF,
> so I try this list first.
> 
> Any clues?

Strange! That sounds like your 'old' CMFCore is from CMF 1.4. CMFCore 
1.3.x doesn't include an URLTool, CMFCore 1.4.x does.

Yuppie





More information about the Zope-CMF mailing list