[Zope] Zope 2.4 Catalog Error

chrisabruce chrisabruce@webslate.com
Thu, 13 Dec 2001 07:27:18 -0000


So I found the problem, but I am not sure how to create the 
indexes in python?  Can someone give me a quick example?



Thanks,

Chris 


--- In zope@y..., "Andreas Jung" <andreas@a...> wrote:
The API for creating indexes using Catalog.addIndex() changed
with 2.4. Looks like ZDiscussion uses the pre-2.4 API.

Andreas
----- Original Message ----- 
From: "Chris Bruce" <chrisabruce@w...>
To: <zope@z...>
Sent: Wednesday, November 28, 2001 19:54
Subject: [Zope] Zope 2.4 Catalog Error


> I am getting this error when adding a ZDiscussion Topic.  It 
only 
> occured after upgrading to 2.4.  Any ideas:
> 
> Error Value: Catalog addIndex now requires the index type to 
be 
> resolved prior to adding; create the proper index in the caller.
> 
> 
> Thanks,
> 
> Chris
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@z...
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 


_______________________________________________
Zope maillist  -  Zope@z...
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
--- End forwarded message ---