That traceback comes from code in your index.html view, not the code you 
have shown. There is an HTML helper that is being indexed, and whatever 
index value is being used is higher than the number of components in the 
helper. Hard to say more without seeing the relevant code.

Anthony

On Thursday, April 11, 2019 at 11:49:26 AM UTC-4, lucas wrote:
>
> web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
> Python Python 2.7.5: /usr/bin/uwsgi (prefix: /usr)Traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
>
> Traceback (most recent call last):
>   File "/opt/web2py_apps/web2py_2-18-5/gluon/restricted.py", line 219, in 
> restricted
>     exec(ccode, environment)
>   File 
> "/opt/web2py_apps/web2py_2-18-5/applications/instruct/views/default/index.html",
>  line 62, in <module>
>   File "/opt/web2py_apps/web2py_2-18-5/gluon/html.py", line 807, in 
> __getitem__
>     return self.components[i]
> IndexError: list index out of range
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to