[Zope3-Users] Registered utility is never found

FB fbo2 at gmx.net
Wed Dec 13 04:00:33 EST 2006


Hi,

On Tue, Dec 12, 2006 at 12:39:37PM -0500, Benji York wrote:
> Tom Gross wrote:
> >    you are trying to lookup the utility with the name None. If you don't specify a name when registering the 
> >utility,
> >omit the second parameter: zapi.getUtility(IInitIndicator)
> 
> In other words, the name of an unnamed utility isn't None, but the empty string.

That's not the problem. I tried None (but forget to remove it later) because it wasn't
working in the first place.

Regards,

Frank


More information about the Zope3-users mailing list