[Zope] Catalog addIndex Error

Dieter Maurer dieter@handshake.de
Mon, 18 Nov 2002 19:30:41 +0100


beno writes:
 > I tried to install a product called EMarket when I ran into this error 
 > )upon trying to set up EMarket from the eMarketAdd.dtml page):
 > 
 > Error Type: TypeError
 > Error Value: Catalog addIndex now requires the index type to be resolved 
 > prior to adding; create the proper index in the caller.
 > 
 > There is this line of code from addEMarket():
 >      newMainF.Catalog._catalog.addIndex('isAvailable','FieldIndex')
The way, indexes are plugged into ZCatalog has significantly changed
in Zope 2.5.

Apparently, "EMarket" has not yet been made fit for Zope 2.5 and
above.

It will not be difficult but require some programming skills...


Dieter