[Zope-CMF] TextIndexNG / Catalog question

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Tue, 01 Apr 2003 20:18:00 +0200


Upgrade to TextIndexNG 1.09

--On Dienstag, 1. April 2003 12:09 Uhr -0500 Kevin Carlson 
<khcarlso@bellsouth.net> wrote:

> 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
>
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests