This should be fixed in trunk now.

On Sep 3, 5:13 pm, Niphlod <niph...@gmail.com> wrote:
> BTW, I was on linux.....after exporting WEB2PY_PATH variable it seems
> to work
>
> Another traceback, though.... when I inserted from appadmin a wrong
> "args" value (it was not valid json format) I got
>
> Traceback (most recent call last):
>   File "/home/niphlod/Scrivania/web2py/gluon/restricted.py", line 194,
> in restricted
>     exec ccode in environment
>   File "/home/niphlod/Scrivania/web2py/applications/a0/controllers/
> appadmin.py", line 410, in <module>
>   File "/home/niphlod/Scrivania/web2py/gluon/globals.py", line 145, in
> <lambda>
>     self._caller = lambda f: f()
>   File "/home/niphlod/Scrivania/web2py/applications/a0/controllers/
> appadmin.py", line 127, in insert
>     if form.accepts(request.vars, session):
>   File "/home/niphlod/Scrivania/web2py/gluon/sqlhtml.py", line 1075,
> in accepts
>     hideerror=hideerror,
>   File "/home/niphlod/Scrivania/web2py/gluon/html.py", line 1797, in
> accepts
>     status = self._traverse(status,hideerror)
>   File "/home/niphlod/Scrivania/web2py/gluon/html.py", line 743, in
> _traverse
>     newstatus = c._traverse(status,hideerror) and newstatus
>   File "/home/niphlod/Scrivania/web2py/gluon/html.py", line 743, in
> _traverse
>     newstatus = c._traverse(status,hideerror) and newstatus
>   File "/home/niphlod/Scrivania/web2py/gluon/html.py", line 743, in
> _traverse
>     newstatus = c._traverse(status,hideerror) and newstatus
>   File "/home/niphlod/Scrivania/web2py/gluon/html.py", line 743, in
> _traverse
>     newstatus = c._traverse(status,hideerror) and newstatus
>   File "/home/niphlod/Scrivania/web2py/gluon/html.py", line 750, in
> _traverse
>     newstatus = self._validate()
>   File "/home/niphlod/Scrivania/web2py/gluon/html.py", line 1566, in
> _validate
>     (value, errors) = validator(value)
>   File "/home/niphlod/Scrivania/web2py/gluon/scheduler.py", line 253,
> in __call__
>     return (value,current.T('invalid json'))
> NameError: global name 'current' is not defined
>
> That should be valid both for windows and linux....
> Testing tomorrow in windows, good night at all.

Reply via email to