[Zope] re: help required in [result.data_record_id_]
Dieter Maurer
dieter at handshake.de
Wed Jun 4 14:54:27 EDT 2008
suhail shaik wrote at 2008-6-2 12:25 +0100:
> I am a novice in zope. i have to debug a program where i get the key value
>error, traversal error.
>
>a lil info from the error log.
>
>"Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
> - __traceback_info__:
>here.getStoryNumber(here.catalog.data.getobject(result.data_record_id_,
>REQUEST=None).getId())
> Module PythonExpr, line 1, in <expression>
> Module Products.ZCatalog.ZCatalog, line 590, in getobject
> Module OFS.Traversable, line 284, in unrestrictedTraverse
> - __traceback_info__: (['20071122_9.txt', 'stories', 'text'], '20071122')
>KeyError: '20071122'"
This looks like an inconsistency between your catalog
and the world of catalogued objects.
Try to rebuild your catalog.
You do this by visiting the catalog "Advanced" tab and there
pressing the "Update catalog" button.
Then try again whether the error remains.
--
Dieter
More information about the Zope
mailing list