<table height="105" width="46"><tbody><tr>
<td><br></td>
</tr>
<tr>
<td><br></td>
</tr>
</tbody></table>some one please help me regarding why the index error is occuring...<br>i find the application works fine for a few values of textidx but only for a few distinct values this error occurs....<br><br>kindly help me <br>
<br>
<p>Traceback (innermost last):
</p><ul><li> Module ZPublisher.Publish, line 119, in publish</li><li> Module ZPublisher.mapply, line 88, in mapply</li><li> Module ZPublisher.Publish, line 42, in call_object</li><li> Module Shared.DC.Scripts.Bindings, line 313, in __call__</li>
<li> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec</li><li> Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec</li><li> Module Products.PageTemplates.ZopePageTemplate, line 426, in pt_render</li>
<li> Module Products.PageTemplates.PageTemplate, line 89, in pt_render</li><li> Module zope.pagetemplate.pagetemplate, line 117, in pt_render</li><li> Module zope.tal.talinterpreter, line 271, in __call__</li><li> Module zope.tal.talinterpreter, line 346, in interpret</li>
<li> Module zope.tal.talinterpreter, line 824, in do_loop_tal</li><li> Module zope.tal.talinterpreter, line 346, in interpret</li><li> Module zope.tal.talinterpreter, line 536, in do_optTag_tal</li><li> Module zope.tal.talinterpreter, line 521, in do_optTag</li>
<li> Module zope.tal.talinterpreter, line 516, in no_tag</li><li> Module zope.tal.talinterpreter, line 346, in interpret</li><li> Module zope.tal.talinterpreter, line 590, in do_setGlobal_tal</li><li> Module zope.tales.tales, line 696, in evaluate<br>
<b>URL: /news/SearchReport</b><br>
<b>Line 79, Column 2</b><br>
<b>Expression: <PythonExpr container.data.restrictedTraverse(storynb[0]).getChapterInfo(storynb[1], kfMax)></b><br>
<b>Names:</b><pre>{'container': <Folder at /news>,<br> 'context': <Folder at /news>,<br> 'default': <object object at 0xb7d62528>,<br> 'here': <Folder at /news>,<br>
'loop': {u'result': <Products.PageTemplates.Expressions.PathIterator object at 0x1993cfcc>},<br> 'nothing': None,<br> 'options': {'args': ()},<br> 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x186ab80c>,<br>
'request': <HTTPRequest, URL=<a href="http://kmi-vid01.open.ac.uk:8080/news/SearchReport">http://kmi-vid01.open.ac.uk:8080/news/SearchReport</a>>,<br> 'root': <Application at >,<br> 'template': <ZopePageTemplate at /news/SearchReport>,<br>
'traverse_subpath': [],<br> 'user': <User 'mmis'>}</pre></li><li> Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__<br>
__traceback_info__: container.data.restrictedTraverse(storynb[0]).getChapterInfo(storynb[1], kfMax)</li><li> Module PythonExpr, line 1, in <expression></li><li> Module Shared.DC.Scripts.Bindings, line 313, in __call__</li>
<li> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec</li><li> Module Products.PythonScripts.PythonScript, line 327, in _exec</li><li> Module None, line 26, in getChapterInfo<br>
<b><PythonScript at /news/getChapterInfo used for /news/data/20071124></b><br>
<b>Line 26</b></li><li> Module AccessControl.ZopeGuards, line 67, in guarded_getitem</li></ul>IndexError: list index out of range