[Zope-CMF] TextIndexNG / Catalog question

Kevin Carlson khcarlso@bellsouth.net
Tue, 01 Apr 2003 12:09:19 -0500


Hi all,

I am trying to delete a record from the portal_catalog and am receiving 
the following error (traceback also below):

*Error Type: KeyError*
*Error Value: 373883674

*I am using context. context.portal_catalog.uncatalogCase(catID) to 
delete the record.  It would appear the the object doesn't exist, but it 
does.  In this case, catID = 'Unknown FF Plaintiff v. Koninklijke Ahold, 
N.V., et al.' -- is there any reason that  the numerous punctuation 
marks in the  id would cause a problem?

The index that is having  trouble deleting this record is the 
SearchableText index and is based on TextIndexNG v1.07.  Zope is 2.6.0 
with CMF 1.2.

Thanks!****

Traceback (innermost last):

    * Module ZPublisher.Publish, line 98, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.PythonScripts.PythonScript, line 315, in _exec
    * Module Script (Python), line 4, in test-script
      *<PythonScript at /Blah/portal_skins/BlahAdmin/test-script>*
      *Line 4*
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.PythonScripts.PythonScript, line 315, in _exec
    * Module Script (Python), line 1, in uncatalogDBRecord
      *<PythonScript at /Blah/portal_catalog/uncatalogDBRecord>*
      *Line 1*
    * Module Products.ZCatalog.ZCatalog, line 530, in uncatalog_object
    * Module Products.ZCatalog.Catalog, line 377, in uncatalogObject
    * Module Products.TextIndexNG.TextIndexNG, line 403, in unindex_object
    * Module Products.TextIndexNG.storages.StandardStorage, line 74, in
      removeDocument