[Grok-dev] getMultiAdapter error

Simon Elbaz simon.elbaz at free.fr
Sun Feb 1 10:56:53 EST 2009


Hi,
I am getting stuck with the following piece of code.
Could someone explain me why the following error is sent when the Index 
view is rendered (although the multiadapter has been registered):

    raise ComponentLookupError(objects, interface, name)
ComponentLookupError: ((<class 'adamatest.menus.EditMenu'>, <class 
'zope.publisher.browser.TestRequest'>), <InterfaceClass 
zope.app.publisher.interfaces.browser.IMenuItemType>, 'amenuitemadapter')

Thanks for your help
Simon




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: menus.py
Url: http://mail.zope.org/pipermail/grok-dev/attachments/20090201/74acdb5d/attachment.pl 


More information about the Grok-dev mailing list