[Zope3-Users] Catalogs Broken?

Dominique Lederer dominique.lederer at inode.at
Wed Jan 31 05:44:25 EST 2007


David Johnson schrieb:
> I am trying to figure out what a catalog does, so I began testing.
> 1. In ZMI add Catalog (no problem)
> 2. In Catalog add Field or Text index (doesn't matter)
> 3. Select interface (I'm using a simple "Note" content type I created
> note.INote)
> 4. Put in "body" as the attribute
> 5. Callable is not selected.
> 6. Press Add button
> Exception:
>   File
> "/Users/djohnson/sandbox/Zope-3.3.0/build/lib.macosx-10.3-fat-2.4/zope/app/catalog/catalog.py",
> line 75, in _visitSublocations
>     uidutil = zapi.getUtility(IIntIds, context=self)
>   File
> "/Users/djohnson/sandbox/Zope-3.3.0/build/lib.macosx-10.3-fat-2.4/zope/component/_api.py",
> line 207, in getUtility
>     raise ComponentLookupError(interface, name)
> ComponentLookupError: (<InterfaceClass
> zope.app.intid.interfaces.IIntIds>, '')
> 
> No matter what I try this is what I see.

you have to add and register a Unique Id Utility first, which is
required by the Catalog to work.

greetings
Dom


More information about the Zope3-users mailing list