[Zope3-Users] Registered utility is never found

Garanin Michael garanin at m-lan.ru
Wed Dec 13 04:09:16 EST 2006


FB wrote:
> 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
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
>   
Problem solved or no? If "no" then traceback please (after call 
zapi.getUtility(IInitIndicator) ).






More information about the Zope3-users mailing list