[Zope] zope 2.6.x, zcatalog and keyerrors

Casey Duncan casey@zope.com
Fri, 18 Apr 2003 09:35:21 -0400


On Thursday 17 April 2003 09:27 pm, Bakhtiar A Hamid wrote:
[snip]
> >
> > look like:
> > >>> import Zope; a =3D Zope.app()
> > >>> idx =3D a.Catalog._catalog.getIndex('Name of ZCTextIndex')
> > >>> from BTrees.check import check
> > >>> check(idx.index._wordinfo)
> > >>> check(idx.index._docweight)
>=20
> i have two ZCTextIndex for this particular app - bodytext, and title
> the test passed for bodytext, but fot title i got:
>=20
> >>> 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 52=
5, in=20
> setstate
>     raise ReadConflictError(object=3Dobject)
> ZODB.POSException.ReadConflictError: database read conflict error (oid=20
> 0000000001205126, class Products.ZCTextIndex.ZCTextIndex.ZCTextIndex)

Hmmm, does it do that consistently?

-Casey