Re: [Zope-CMF] Trouble adding a new site

2010-12-08 Thread Charlie Clark
Am 08.12.2010, 15:21 Uhr, schrieb yuppie : > No. Have a look at the addConfiguredSite function: It first adds a bare > CMFSite object, then adds the setup tool and importing the profile that > adds the types tool is the last step. Your event handler just tries too > early to look up the tool. ah,

Re: [Zope-CMF] Trouble adding a new site

2010-12-08 Thread yuppie
Charlie Clark wrote: > Am 08.12.2010, 14:48 Uhr, schrieb yuppie: > >> In line 59 you just have a bare CMFSite object without any tools. > > Hi Yuppie, > > thanks for the quick reply. How come I don't have any tools? Is this > related to more recent buildouts not magically including Products.* stuff

Re: [Zope-CMF] Trouble adding a new site

2010-12-08 Thread Charlie Clark
Am 08.12.2010, 14:48 Uhr, schrieb yuppie : > In line 59 you just have a bare CMFSite object without any tools. Hi Yuppie, thanks for the quick reply. How come I don't have any tools? Is this related to more recent buildouts not magically including Products.* stuff? Products.CMFDefault (2.2.0

Re: [Zope-CMF] Trouble adding a new site

2010-12-08 Thread yuppie
Charlie Clark wrote: > Traceback (innermost last): > Module ZPublisher.Publish, line 127, in publish > Module ZPublisher.mapply, line 77, in mapply > Module ZPublisher.Publish, line 47, in call_object > Module Products.CMFDefault.factory, line 59, in addConfiguredSite In line 59 yo