[Zope-dev] ZCatalog "Key Error" question

Dieter Maurer dieter at handshake.de
Sun Sep 3 13:22:27 EDT 2006


zope-dev at rosenthaltechnologies.com wrote at 2006-9-1 13:29 -0400:
>
>Traceback for my Key Error (Dieter, thank you for alerting me on where
>to find this):
>
>Traceback (innermost last):
> ...
>   - Physical Path: /nephron_links/news_dtml
>  Module DocumentTemplate.DT_String, line 476, in __call__
>  Module DocumentTemplate.DT_In, line 465, in renderwb
>  Module DocumentTemplate.DT_In, line 747, in sort_sequence
>  Module Products.ZCatalog.Lazy, line 158, in __getitem__
>  Module Products.ZCatalog.Catalog, line 520, in getScoredResult
>KeyError: -464571725

This does not look like a catalog corruption.

Instead, it looks as if the catalog changed since the search was
done. Are you caching your search results?



-- 
Dieter


More information about the Zope-Dev mailing list