[ZODB-Dev] Catalog Search exposes BTrees bug?

Casey Duncan casey@zope.com
Fri, 6 Sep 2002 12:37:30 -0400


Does this persist if you update the catalog? Or does that fail?

This could probably be fixed by going in through the debugger as well and=
=20
pruning the offensive records from the indexes. Delicate, but not brain=20
surgery ;^)

I would recommend updating the BTree code in your Zope to current CVS. Th=
ere=20
have been *many* fixes there since 2.5.1

-Casey

On Friday 06 September 2002 04:27 am, Chris Withers wrote:
> Hi,
>=20
> Zope 2.5.1
> Python 2.1.3
> ZEO 1.0 Final
>=20
> Currently getting this when I search a ZCatalog:
>=20
> Error Type: TALESError
> Error Value: exceptions.KeyError on -1931873751 in=20
> "standard:'here/compute_search_results'", at line 6, column 3
>=20
> Traceback (innermost last):
> <snip>
>    File /usr/local/zope/2.5.1_base/lib/python/Products/ZCatalog/ZCatalo=
g.py,=20
> line 579, in searchResults
>      (Object: Catalog)
>    File /usr/local/zope/2.5.1_base/lib/python/Products/ZCatalog/Catalog=
=2Epy,=20
line=20
> 576, in searchResults
>    File /usr/local/zope/2.5.1_base/lib/python/Products/ZCatalog/Catalog=
=2Epy,=20
line=20
> 534, in _indexedSearch
>    File=20
>=20
/usr/local/zope/2.5.1_base/lib/python/Products/PluginIndexes/common/UnInd=
ex.py,=20
> line 404, in keyForDocument
>      (Object: dateofpublication)
> TALESError: exceptions.KeyError on -1931873751 in=20
> "standard:'here/compute_search_results'", at line 6, column 3
>=20
> 'dateofpublication' is FieldIndex.
>=20
> Is this exposing the previously mentioned BTree bugs? If so, what can I=
 do=20
to=20
> fix them and what release of Zope is going to have these fixes in?
>=20
> rather exasperatedly yours,
>=20
> Chris
>=20
>=20
>=20
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>=20
> ZODB-Dev mailing list  -  ZODB-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zodb-dev
>=20