suhail shaik wrote at 2008-6-4 12:41 +0100:
> ...
>Traceback (innermost last):
>
> ....
>   - Module zope.tal.talinterpreter, line 346, in interpret
>   - Module zope.tal.talinterpreter, line 590, in do_setGlobal_tal
>   - Module zope.tales.tales, line 696, in evaluate
>   *URL: /news/SearchReport*
>   *Line 79, Column 2*
>   *Expression: <PythonExpr
>   container.data.restrictedTraverse(storynb[0]).getChapterInfo(storynb[1],
>   kfMax)>*
> ...
>   - Module Products.PythonScripts.PythonScript, line 327, in _exec
>   - Module None, line 26, in getChapterInfo
>   *<PythonScript at /news/getChapterInfo used for /news/data/20071124>*
>   *Line 26*
>   - Module AccessControl.ZopeGuards, line 67, in guarded_getitem
>
>IndexError: list index out of range

Near line 26 of your PythonScript "getChapterInfo" you access
a sequence with a too large index.

Probably, your sequence depends on some search (or is otherwise
dynamically) and has fewer elements then expected.



-- 
Dieter
_______________________________________________
Zope maillist  -  Zope@zope.org
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 )

Reply via email to