This is a bug. I will fix it. Massimo
On Jan 11, 2:56 am, SergeyPo <[email protected]> wrote: > Hi group! > > When I run py scripts within web2py context using -S -M -R flags, when > I make mistake in model files I get always the same non-informative > error: > > Traceback (most recent call last): > File "web2py.py", line 5, in <module> > start() > File "/Users/vasilina/Documents/Development/ADVANTAGE/web2py/gluon/ > widget.py", line 381, in start > File "/Users/vasilina/Documents/Development/ADVANTAGE/web2py/gluon/ > shell.py", line 103, in run > File "/Users/vasilina/Documents/Development/ADVANTAGE/web2py/gluon/ > shell.py", line 73, in env > File "/Users/vasilina/Documents/Development/ADVANTAGE/web2py/gluon/ > compileapp.py", line 139, in run_models_in > File "/Users/vasilina/Documents/Development/ADVANTAGE/web2py/gluon/ > restricted.py", line 66, in restricted > gluon.restricted.RestrictedError: <gluon.restricted.RestrictedError > instance at 0x1752f08> > > Is it possible to check which line in model exactly causes the error? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

