Hi,
I just started to experiment with catalogs and indexes. I have created a
test folder, converted it into a site and added a catalog. Then I have
tried to add an index, but get the following error:
ComponentLookupError: (zope.app.intid.interfaces.IIntIds>, '')
After that, I was not able t
Am Sonntag, 4. Juni 2006 18:11 schrieb Achim Domma:
> Hi,
>
> I just started to experiment with catalogs and indexes. I have created a
> test folder, converted it into a site and added a catalog. Then I have
> tried to add an index, but get the following error:
>
> ComponentLookupError: ( zope.app.
Florian Lindner wrote:
Have you registered the IntIDs utility?
Yes, but I just found a posting which told me, that I have to register
it without a name. The problem was, that I registered it with a name.
Achim
___
Zope3-users mailing list
Zope3-us
What is the best to find the nearest utility without using a name?
zapi.getUtility() seems to require a name (though the documentation
implies otherwise). zapi.getAllRegisiteredUtilitiesFor() works but it
seems to me if you have lots of utilities in other contexts, it would
query those as well, a