On Wednesday, November 11, 2020 at 11:17:21 PM UTC-8, Gaël Princivalle 
wrote:
>
> Running it without nohup I can see this error. How can I debug that?
> This app was running first on Web2py 2.14.16 and now it runs on the 2.20.4 
> version.
>
>  ~/apps/web2py_folder2/env/bin/python ~/apps/web2py_folder2/web2py/web2py.py 
> -K myapp2
>
> Traceback (most recent call last): File 
> "apps/web2py_folder2/web2py/web2py.py", 
> line 41, in <module> import gluon.widget File 
> "/home/user/apps/web2py_folder2/web2py/gluon/widget.py", line 27, in 
> <module> from gluon.shell import die, run, test File 
> "/home/user/apps/web2py_folder2/web2py/gluon/shell.py", line 285 
> exec(read_pyc(pycfile), _env) SyntaxError: unqualified exec is not allowed 
> in function 'run' it contains a nested function with free variables 
>
>>
>>>>
I'm guessing you have something different in how you've defined the 
scheduler routines, since it works for one case and not the other.  That 
doesn't mean the web2py code doesn't have a problem, but it does mean the 
problem isn't in the path of the working case.

Can you show some of your models/scheduler.py code? 

/dps

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/459cfe3a-3a14-4d29-9f1d-8e897f7e2166o%40googlegroups.com.

Reply via email to