Hi, There's a bug in the new shell changes, "python_code" is misspelled in line 154 (as a parameter), and therefore it causes web2py to fail when started via shell.
The fix is just to correct the spelling, from "pyhton_code" to "python_code". Thanks, Carlos

