[web2py] Re: problem whith admin

2010-11-18 Thread Jose
Daniel Gonzalez, The patch works well for me. Thanks Jose

Re: [web2py] Re: problem whith admin

2010-11-15 Thread Emanuel Woiski
I've applied your patch and it works, at least for i2p... thanks regards woiski 2010/11/15 Nico de Groot > I think the offending line is in design.html, see the ticket below. > (The 'real' line number is 207, because the python code is generated > by {{=...}}.) > > 289.if '/'.join(file_path)

[web2py] Re: problem whith admin

2010-11-15 Thread JmiXIII
Hello , I had the same pb : Traceback (most recent call last): File "/home/sylvain/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/home/sylvain/web2py/applications/admin/views/default/ design.html", line 290, in IndexError: list index out of range

Re: [web2py] Re: problem whith admin

2010-11-15 Thread Daniel Gonzalez
Hi, i had the same problem. To fix this while a new version is launched, you can edit the file applications/admin/views/default/design.html And go to line 207 where youl find if '/'.join(file_path).startswith('/'.join(path)): Try to chage it with if len(file_path)>= len(path) and

[web2py] Re: problem whith admin

2010-11-15 Thread Nico de Groot
I think the offending line is in design.html, see the ticket below. (The 'real' line number is 207, because the python code is generated by {{=...}}.) 289.if '/'.join(file_path).startswith('/'.join(path)): At that point path: ['js', 'ckeditor', 'plugins', 'table'] and file_path: ['js

Re: [web2py] Re: problem whith admin

2010-11-15 Thread Branko Vukelic
On Mon, Nov 15, 2010 at 8:59 PM, mdipierro wrote: > where is the offending line in design.html? I think it's in this block: {{=T("Plugins")}} {{=helpicon()}} {{=T("To create a plugin, name a file/folder plugin_[name]")}} {{=button(PLUGINS_APP, T('download plugins'))}} {{

[web2py] Re: problem whith admin

2010-11-15 Thread mdipierro
where is the offending line in design.html? On Nov 15, 1:47 pm, Branko Vukelic wrote: > Probably a missing {{if something}} somewhere. Maybe {{for}} in > templates could be wrapped in an implicit if block. Like when you say: > > {{ for something in other}} >    blah blah > {{pass}} > > could tran