On May15, 3:46pm, Iceberg <[email protected]> wrote: > @Massimo, thanks for your latest attempt, but it should be adjusted as > below. And please also keep the comment which is valuable also. > > sys.path.insert(0, path) # somehow it need to be ahead of cwd >
Hi Massimo, the latest 1.78.1 solves the problem, well, almost. Now apps can run, but cron jobs inside those -f another_web2py_folder will not fire. At least line 769 and line 779 in gluon/widget.py should be changed from os.getcwd() to web2py_path. Besides, you might need to double check every os.getcwd() in all source code. For example, line 262 of gluon/newcron.py contains a os.getcwd() too although it would be "just" a misleading log message. Sorry for keep you busy. :-) -- Iceberg

