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 _______________________________________________ Zope maillist - [email protected] 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 )
