Re: [Zope-dev] FieldIndex unindex_object could not remove... This should not happen.
Both catalogs were ok. BTW this patch is needed: --- check_catalog.pyThu Feb 28 22:13:30 2002 +++ check_catalog.pyThu Feb 28 22:23:15 2002 @@ -140,7 +140,7 @@ if o in ['--FieldIndex','--KeywordIndex','--PathIndex']: indexes.append(o[2:]) -checkCatalog(args,indexes) +checkCatalog(args[0],indexes) if __name__=='__main__': Andreas Jung <[EMAIL PROTECTED]> wrote: > Well...that should not happen :-) > Maybe try the check_catalog.py script from Zope 2.5.X > to find any problems in the indexes. > > Andreas > - Original Message - > From: "Florent Guillaume" <[EMAIL PROTECTED]> > Newsgroups: local.lists.zope.zope-dev > To: <[EMAIL PROTECTED]> > Sent: Thursday, February 28, 2002 15:57 > Subject: Re: [Zope-dev] FieldIndex unindex_object could not remove... This > should not happen. > > > > 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 <[EMAIL PROTECTED]> wrote: > > > 2.5.0 linux binary release, sorry. > > > > > > Andreas Jung <[EMAIL PROTECTED]> wrote: > > > > what zope version ? > > > > > > > > - aj > > > > ----- Original Message ----- > > > > From: "Florent Guillaume" <[EMAIL PROTECTED]> > > > > Newsgroups: local.lists.zope.zope-dev > > > > To: <[EMAIL PROTECTED]> > > > > 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:[EMAIL PROTECTED] > > > > ___ > > Zope-Dev maillist - [EMAIL PROTECTED] > > http://lists.zope.org/mailman/listinfo/zope-dev > > ** No cross posts or HTML encoding! ** > > (Related lists - > > http://lists.zope.org/mailman/listinfo/zope-announce > > http://lists.zope.org/mailman/listinfo/zope ) > > > > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] FieldIndex unindex_object could not remove... This should not happen.
Well...that should not happen :-) Maybe try the check_catalog.py script from Zope 2.5.X to find any problems in the indexes. Andreas - Original Message - From: "Florent Guillaume" <[EMAIL PROTECTED]> Newsgroups: local.lists.zope.zope-dev To: <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002 15:57 Subject: Re: [Zope-dev] FieldIndex unindex_object could not remove... This should not happen. > 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 <[EMAIL PROTECTED]> wrote: > > 2.5.0 linux binary release, sorry. > > > > Andreas Jung <[EMAIL PROTECTED]> wrote: > > > what zope version ? > > > > > > - aj > > > - Original Message - > > > From: "Florent Guillaume" <[EMAIL PROTECTED]> > > > Newsgroups: local.lists.zope.zope-dev > > > To: <[EMAIL PROTECTED]> > > > 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:[EMAIL PROTECTED] > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] FieldIndex unindex_object could not remove... This should not happen.
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 <[EMAIL PROTECTED]> wrote: > 2.5.0 linux binary release, sorry. > > Andreas Jung <[EMAIL PROTECTED]> wrote: > > what zope version ? > > > > - aj > > - Original Message - > > From: "Florent Guillaume" <[EMAIL PROTECTED]> > > Newsgroups: local.lists.zope.zope-dev > > To: <[EMAIL PROTECTED]> > > 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:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] FieldIndex unindex_object could not remove... This should not happen.
2.5.0 linux binary release, sorry. Andreas Jung <[EMAIL PROTECTED]> wrote: > what zope version ? > > - aj > - Original Message - > From: "Florent Guillaume" <[EMAIL PROTECTED]> > Newsgroups: local.lists.zope.zope-dev > To: <[EMAIL PROTECTED]> > 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:[EMAIL PROTECTED] > > > > ___ > > Zope-Dev maillist - [EMAIL PROTECTED] > > http://lists.zope.org/mailman/listinfo/zope-dev > > ** No cross posts or HTML encoding! ** > > (Related lists - > > http://lists.zope.org/mailman/listinfo/zope-announce > > http://lists.zope.org/mailman/listinfo/zope ) > > > > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] FieldIndex unindex_object could not remove... This should not happen.
what zope version ? - aj - Original Message - From: "Florent Guillaume" <[EMAIL PROTECTED]> Newsgroups: local.lists.zope.zope-dev To: <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[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:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )