[Grok-dev] Re: problems using zc.sourcefactory (was: Re: Adding a
image to form_fields)
Philipp von Weitershausen
philipp at weitershausen.de
Mon Sep 3 07:07:58 EDT 2007
On 3 Sep 2007, at 13:08 , Jan Ulrich Hasecke wrote:
> py2.4.egg/zope/component/_api.py", line 103, in getMultiAdapter
> ComponentLookupError: ((<zc.sourcefactory.source.FactoredSource
> object at 0x3245c30>, <zope.publisher.browser.BrowserRequest
> instance URL=http://localhost:8080/NeanderthalerZoo/gehegebauen>),
> <InterfaceClass zope.app.form.browser.interfaces.ITerms>, u'')
Obviously zc.sourcefactory's components aren't being loaded, that's
why you're getting a ComponentLookupError. You need to load
zc.sourcefactory's ZCML by adding the following line to your
configure.zcml file:
<include package="zc.sourcefactory" />
More information about the Grok-dev
mailing list