Thank you for the clarification. The reason I could not reproduce (and
still cannot) is that this is because of a bug that was fixed this
morning in trunk. ;-)
Thanks for reporting it anyway.
if filetype == 'html' and request.args >= 3:
in your version, should be
if filetype == 'html' and len(request.args) >= 3:
Massimo
On Nov 17, 8:01 pm, Vollrath <[email protected]> wrote:
> Ok,
>
> 1. In dashboard app welcome click about. (admin/default/site)
> 2. About welcome click in edit (admin/default/about/welcome)
> 3. result: Internal error: Ticket issued: admin/
> 127.0.0.1.2010-11-17.23-59-53.92f42c7d-cee6-4fe5-9794-d6c3c2fbc38c
> 4. Ticket:
>
> Traceback (most recent call last):
> File "/home/vinicius/www/plocme/gluon/restricted.py", line 188, in
> restricted
> exec ccode in environment
> File "/home/vinicius/www/plocme/applications/admin/controllers/
> default.py", line 1148, in <module>
> File "/home/vinicius/www/plocme/gluon/globals.py", line 96, in
> <lambda>
> self._caller = lambda f: f()
> File "/home/vinicius/www/plocme/applications/admin/controllers/
> default.py", line 437, in edit
> request.args[2] + '.py')
> IndexError: list index out of range
>
> [ ]'s
> vinicius
>
> On Nov 17, 11:49 pm, mdipierro <[email protected]> wrote:
>
> > Since I cannot reproduce it, perhaps I do not understand. Can you list
> > the steps to reproduce it?
>
> > Massimo
>
> > On Nov 17, 3:32 pm, Vinicius Vollrath <[email protected]>
> > wrote:
>
> > > Hi,
>
> > > Environment
> > > web2py™ Version 1.89.3 (2010-11-16 13:53:22)
> > > Python Python 2.5.5: /usr/bin/python2.5
>
> > > Traceback (most recent call last):
> > > File "/home/vinicius/www/plocme/gluon/restricted.py", line 188, in
> > > restricted
> > > exec ccode in environment
> > > File
> > > "/home/vinicius/www/plocme/applications/admin/controllers/default.py",
> > > line
> > > 1148, in <module>
> > > File "/home/vinicius/www/plocme/gluon/globals.py", line 96, in <lambda>
> > > self._caller = lambda f: f()
> > > File
> > > "/home/vinicius/www/plocme/applications/admin/controllers/default.py",
> > > line
> > > 437, in edit
> > > request.args[2] + '.py')
> > > IndexError: list index out of range
>
> > > ERROR SNAPSHOT
> > > <type 'exceptions.IndexError'>(list index out of range)
> > > --
> > > Att,
> > > Vinicius Vollrath
>
>