[Zope-dev] FieldIndex unindex_object could not remove... This should not happen.

Florent Guillaume fg@nuxeo.com
Thu, 28 Feb 2002 20:57:26 +0000 (UTC)


Ok forget about it, I was unindexing and indexing from several catalogs,
and mixed some of them up. All is well now.
(However the message was still strange...)

Florent


Florent Guillaume  <fg@nuxeo.com> wrote:
> 2.5.0 linux binary release, sorry.
> 
> Andreas Jung <andreas@zope.com> wrote:
> > what zope version ?
> > 
> > - aj
> > ----- Original Message -----
> > From: "Florent Guillaume" <fg@nuxeo.com>
> > Newsgroups: local.lists.zope.zope-dev
> > To: <zope-dev@zope.org>
> > Sent: Thursday, February 28, 2002 13:45
> > Subject: [Zope-dev] FieldIndex unindex_object could not remove... This
> > should not happen.
> > 
> > 
> > > Playing with workflow switching in CMF, I sometimes have this message:
> > >
> > > 2002-02-28T18:33:06 ERROR(200) FieldIndex unindex_object could not remove
> > documentId -862940561 from index review_state.  This should not happen.
> > > Traceback (innermost last):
> > >   File
> > /home/zope/test-zope/lib/python/Products/PluginIndexes/common/UnIndex.py,
> > line 168, in removeForwardIndexEntry
> > >     (Object: review_state)
> > > KeyError: -862940561
> > >
> > > I gather that this happens when I do self.unindexObject() on an object
> > > that had a review_state attribute (actually a workflow variable made
> > > available to the catalog through a wrapper) in the past (being in a
> > > reviewing workflow) but at the time of the unindexing this variable does
> > > not existe anymore because the current workflow followed by the object
> > > doesn't have it.
> > >
> > > Does this ring any bell ?
> > >
> > > Thanks,
> > >
> > > Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com