Hi Massimo, Turns out that the fix [1] is not completed. Most apps work when using "web2py -f another_web2py_folder", but not those contains local_import('my_module', app='my_app').
Should be easy to fix, but I even tried to add following lines at line 706 of gluon/widget.py, yet have no luck. sys.path.append(options.folder) sys.path.append(os.path.join(options.folder,'applications')) What can I do? [1] http://code.google.com/p/web2py/source/detail?r=52c0b092adef8a96f1f18c84e5681d4548acd9ae Regards, Iceberg On Apr8, 2:18pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > here is how it works now (its was more convoluted before) > > web2py must find gluon folder in path. > it also expects to find applications/ in os.environ['web2py_path'] or > in os.getcwd(). > > -f path sets os.environ['web2py_path'] = path > > Massimo