Python 3. I moved to python 3 Regards On Mon, 18 Mar 2019, 05:49 Massimo Di Pierro <massimo.dipie...@gmail.com> wrote:
> This says you are using python 3. Is your app build for python 3 or python > 2? > > > On Sunday, 17 March 2019 08:01:07 UTC-7, Maurice Waka wrote: >> >> When clicking on the edit button for my app, I get this error: >> >> 1. >> 2. >> 3. >> 4. >> 5. >> 6. >> 7. >> 8. >> 9. >> 10. >> 11. >> 12. >> 13. >> 14. >> 15. >> 16. >> 17. >> >> Traceback (most recent call last): >> File "/home/mauricewaka/web2py/gluon/restricted.py", line 219, in >> restricted >> exec(ccode, environment) >> File "/home/mauricewaka/web2py/applications/admin/controllers/default.py" >> <http://127.0.0.1:8000/admin/default/edit/admin/controllers/default.py>, >> line 2012, in <module> >> File "/home/mauricewaka/web2py/gluon/globals.py", line 421, in <lambda> >> self._caller = lambda f: f() >> File "/home/mauricewaka/web2py/applications/admin/controllers/default.py" >> <http://127.0.0.1:8000/admin/default/edit/admin/controllers/default.py>, >> line 1130, in design >> items = find_exposed_functions(data) >> File "/home/mauricewaka/web2py/gluon/compileapp.py", line 520, in >> find_exposed_functions >> parsed = ast.parse(data) >> File "/usr/lib/python3.6/ast.py", line 35, in parse >> return compile(source, filename, mode, PyCF_ONLY_AST) >> File "<unknown>", line 490 >> _onclick="jQuery('#name').val('%s')" % k, >> ^ >> SyntaxError: invalid syntax >> >> >> This is after upgrading to the new web2py 2.18.4 >> >> >> Regards >> >> -- > 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. > -- 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.