[Zope3-Users] Registered utility is never found
Garanin Michael
garanin at m-lan.ru
Tue Dec 12 08:42:56 EST 2006
FB wrote:
> Hi,
>
> is there any reason why a registered utility which is persistently stored inside the site
> manager is never found via zapi.getUtility(IMyInterface) ?
>
> More information:
>
> I wrote a package ( fb ) containing some components making the developer's life easier. The package
> provides a class fb.init.indicator.InitIndicator. A application depending on the fb package is
> supposed to make an instance of the InitIndicator, put it into the site manager and register it.
>
> As soon as the InitIndicator exists, the annoying "This site is not
> initialized, yet"-message provided by the fb package's skin (which just
> checks if "zapi.getUtility(IInitIndicator) is not None") disappears.
>
>
traceback, please.
More information about the Zope3-users
mailing list