[Zope3-Users] Catalogs Broken?

David Johnson djohnson at jsatech.com
Wed Jan 31 08:33:14 EST 2007


Thank you kindly. That did the trick.

On Jan 31, 2007, at 11:44 AM, Dominique Lederer wrote:

> 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