Have you taken a look at your error logs? (in /var/log/apache/error.log
, you can access these via the Web tab). You may find you have an ImportError
, because a package you depend on isn't available on PythonAnywhere.
Most packages can be installed by doing a
pip install --user package_name
You then also need to add the following directory to your sys.path
(in addition to the web2py folder):
/home/my_username/.local/lib/python2.7/site-packages
[update] - this question was cross-posted to the PythonAnywhere forums, where we continued to debug the issue. the final solution was to do with Dropbox permissions
http://www.pythonanywhere.com/forums/topic/9/
The answer was to
chmod g+w /home/Lazarof/Dropbox/web2py
Because the Dropbox folder has special permissions on pythonanywhere, our dropbox sync client needs group-read-access permissions to work.