I'm just getting started with web2py (on pythonanywhere). In this series of examples http://www.web2py.com/examples/default/examples I can follow along in the simple_examples controller that comes installed in the example app by default.
However: Example 7 wasn't in the controller. When I copy & paste it in it works. Example 10 wasn't in the controller. When I copy & paste it in it works. Example 13 doesn't work. When I run it from http://www.web2py.com/examples/default/examples I get an internal error. When I copy & paste it into my controller and run it I download a a "file" with no extension which does have text. On Windows text editors can open it. The controller has ajaxwiki_onclick() which doesn't generate any errors but also generates a blank page I was trying to follow along with the tutorial writing my own code in my own app (not the default example one) but I got stuck real quick when this video https://www.youtube.com/watch?v=dHu8O1gZOl0&t=1317s and the examples say to use a dict. Maybe you have to have a matching view to return a dict? Maybe there's a Python syntax change? Maybe executing on pythonanywhere is different from localhost? Only the actual simple_examples controller had comments like "page rendered with/without template". -- 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/7e2e068d-f110-4ea1-b22f-035de483762e%40googlegroups.com.