Update on this :- Just tried it on native windows10 python3.7 and same results. New functions return error 404 until server restart.
BR John On Friday, 17 May 2019 18:49:28 UTC+2, 黄祥 wrote: > > problem still exist (in commits 110) only superheroes app traceback error > is gone when hit 'reload apps': > 1. 'routes for <app_name>' disappears after hit 'reload apps' for : > - scaffold > - myapp > but for _dashboard, example, todo still exist (appears as expected) > 2. editing and adding new function in controller apps/myapp/controller.py > @action('helloworld') # exposes http://127.0.0.1:8000/myapp/helloworld > @action.uses(db, 'helloworld.html') > def helloworld(): return dict(name=request.forms.get('name', 'visitoras')) > > @action('helloworld1') # exposes http://127.0.0.1:8000/myapp/helloworld > @action.uses(db, 'helloworld.html') > def helloworld1(): return dict(name=request.forms.get('name', 'visitorasd' > )) > > *result (not expected) when hit : *http://localhost:8000/myapp/helloworld > Hello Dear visitor > > *result (not expected) when hit : *http://localhost:8000/myapp/helloworld1 > 404 > not found > > *steps* > rm -rf web3py > git clone https://github.com/web2py/web3py > cd web3py > source activate python3_test > pip install -U -r requirements.txt > ./web3py-start apps > > also seen you've had mailer.py, is still not tested yet, no example or no > doc available > > best regards, > stifan > -- 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/5755e5bb-cd53-41e8-a014-cfe33cf3e0aa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.