[Zope] zope 2.6.x, zcatalog and keyerrors

Bakhtiar A Hamid kdie@nstp.com.my
Fri, 18 Apr 2003 21:42:21 +0800 (MYT)


On Fri, 18 Apr 2003, Casey Duncan wrote:

> On Thursday 17 April 2003 09:27 pm, Bakhtiar A Hamid wrote:
> [snip]
> > >
> > > look like:
> > > >>> import Zope; a = Zope.app()
> > > >>> idx = a.Catalog._catalog.getIndex('Name of ZCTextIndex')
> > > >>> from BTrees.check import check
> > > >>> check(idx.index._wordinfo)
> > > >>> check(idx.index._docweight)
> > 
> > i have two ZCTextIndex for this particular app - bodytext, and title
> > the test passed for bodytext, but fot title i got:
> > 
> > >>> check(idx.index._wordinfo)
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> >   File "/usr/local/Zope-2.6-cvs/lib/python/ZODB/Connection.py", line 525, in 
> > setstate
> >     raise ReadConflictError(object=object)
> > ZODB.POSException.ReadConflictError: database read conflict error (oid 
> > 0000000001205126, class Products.ZCTextIndex.ZCTextIndex.ZCTextIndex)
> 
> Hmmm, does it do that consistently?

the three times i did it, i got that.  tonight, when i tried that again no 
tracebacks.  i have recataloged this morning (after i run the test)


> 
> -Casey
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>