new behaviour learned for now: 1. start server with python web3py.py applications/, then copy the app and access the new app in the browser will result : Error: 404 Not Found, solution whenever add new app must restart the server (gunicorn) 2. seems index not the default function like in web2py, no worries, just need to adapt with this new behaviour 3. the session seems store in browser like cookies, to get rid the session seems must clear the cookies in browser, tested with remove the todo app, and clone the git again, when access the todo app, the counter session will increase 4. no error traceback on browser yet, the link provided but when it's clicked return: Error: 404 Not Found Sorry, the requested URL 'http://localhost:8000/_error/59d20351-4496-4b4f-a8de-04768925d4b1' caused an error:
Not found: '/_error/59d20351-4496-4b4f-a8de-04768925d4b1' *check on terminal :* ERROR:root:Traceback (most recent call last): File "/Users/sugizo/learn/python/web3py/web3py.py", line 227, in wrapper output = function(*func_args, **func_kwargs) File "/Users/sugizo/learn/python/web3py/applications/todo0/__init__.py", line 15, in index session['counter'] = session.get('counter', 0) + 1 File "/Users/sugizo/learn/python/web3py/web3py.py", line 183, in get return self.local.data.get(key, default) AttributeError: '_thread._local' object has no attribute 'data' the error no 4 occured when tried to have the previous todo app (app without bulma css) with the current update (to test backward compatibility) 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. For more options, visit https://groups.google.com/d/optout.