[web2py] Re: the request value run well in terminal too like in browser

2016-10-21 Thread 黄祥
yes, that what i face too. first : the same request might have the different value, e.g. request.folder in web browser return /Users/test/site/web2py/applications/test/ yet in terminal return applications/test/ second : the storage dict is not fully covered in terminal e.g. request.env in this

[web2py] Re: the request value run well in terminal too like in browser

2016-10-20 Thread Dave S
On Thursday, October 20, 2016 at 3:28:13 PM UTC-7, 黄祥 wrote: > > *[...]* > *Run in terminal* > python ~/site/web2py/web2py.py --nogui --no-banner -S test -M -R > ~/site/web2py/applications/test/modules/test_functional_test.py > > It return an error when running in terminal : Please contact your