can you provide steps to reproduce? On Thursday, 14 March 2019 23:49:22 UTC-7, Константин Комков wrote: > > I think I saved error in my app and after that I have error in web2py. > <type 'exceptions.SyntaxError'> invalid syntax (<unknown>, line 14)Версия > web2py™ Version 2.18.4-stable+timestamp.2019.03.13.05.27.54 > Python Python 2.7.10: C:\Python27\python.exe (prefix: C:\Python27) > Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > 10. > 11. > 12. > 13. > 14. > 15. > 16. > > Traceback (most recent call last): > File ".\gluon\restricted.py", line 219, in restricted > exec(ccode, environment) > File "C:\inetpub\wwwroot\applications\admin\controllers/default.py", line > 2012, in <module> > File ".\gluon\globals.py", line 421, in <lambda> > self._caller = lambda f: f() > File "C:\inetpub\wwwroot\applications\admin\controllers/default.py", line > 1130, in design > items = find_exposed_functions(data) > File ".\gluon\compileapp.py", line 520, in find_exposed_functions > parsed = ast.parse(data) > File "C:\Python27\lib\ast.py", line 37, in parse > return compile(source, filename, mode, PyCF_ONLY_AST) > File "<unknown>", line 14 > import time, datetime, random, string, json > ^ > SyntaxError: invalid syntax > >
-- 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.