[Zope-dev] 2.3.0. Unindex_object Tried To Unindex Nonexistent

Andy Dawkins andyd@nipltd.com
Mon, 29 Jan 2001 11:30:56 +0000


I'm having some more problems with the ZCatalog in Zope 2.3.0

I've got a name error in the file UnTextIndex.py

Error Type: NameError
Error Value: i

I believe this is occuring when the catalog tries to unindex an object
that isn't currently indexed.

The traceback reports line 332:

File /usr/zope/zope-2_3_0/lib/python/SearchIndex/UnTextIndex.py, line
332, in removeForwardEntry

The line in question reads:
LOG('UnTextIndex', ERROR,
	'Unindex_objects tried to unindex nonexistent'
	' document %s' % str(i))

The function never uses or declares i, however it does use documentId.
I think perhaps the i should have been documentId but I thought i would
check with you guys first.

What do you think?

-Andy