Forums

Can not open my site

Something went wrong :-(

This website is hosted by PythonAnywhere, an online hosting environment. Something went wrong while trying to load it; please try again later.

msv.pythonanywhere.com

http://help.pythonanywhere.com/pages/#im-looking-at-an-error-message-in-my-web-app

Nothing works, I do not find an error. Help me

If you look in the error log, which is linked from the "Web" tab, you'll see this:

2017-04-26 05:21:59,597 :Error running WSGI application
2017-04-26 05:21:59,597 :  File "./msv/settings.py", line 144
2017-04-26 05:21:59,597 :
2017-04-26 05:21:59,597 :SyntaxError: Non-ASCII character '\xd0' in file ./msv/settings.py on line 144, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
2017-04-26 05:21:59,597 :  File "/var/www/msv_pythonanywhere_com_wsgi.py", line 90, in <module>
2017-04-26 05:21:59,597 :    application = get_wsgi_application()
2017-04-26 05:21:59,597 :
2017-04-26 05:21:59,597 :  File "/home/msv/.virtualenvs/django18/local/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
2017-04-26 05:21:59,597 :    django.setup()
2017-04-26 05:21:59,597 :
2017-04-26 05:21:59,597 :  File "/home/msv/.virtualenvs/django18/local/lib/python2.7/site-packages/django/__init__.py", line 17, in setup
2017-04-26 05:21:59,598 :    configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2017-04-26 05:21:59,598 :
2017-04-26 05:21:59,598 :  File "/home/msv/.virtualenvs/django18/local/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
2017-04-26 05:21:59,598 :    self._setup(name)
2017-04-26 05:21:59,598 :
2017-04-26 05:21:59,598 :  File "/home/msv/.virtualenvs/django18/local/lib/python2.7/site-packages/django/conf/__init__.py", line 43, in _setup
2017-04-26 05:21:59,598 :    self._wrapped = Settings(settings_module)
2017-04-26 05:21:59,598 :
2017-04-26 05:21:59,598 :  File "/home/msv/.virtualenvs/django18/local/lib/python2.7/site-packages/django/conf/__init__.py", line 99, in __init__
2017-04-26 05:21:59,598 :    mod = importlib.import_module(self.SETTINGS_MODULE)
2017-04-26 05:21:59,598 :***************************************************
2017-04-26 05:21:59,598 :If you're seeing an import error and don't know why,
2017-04-26 05:21:59,598 :we have a dedicated help page to help you debug: 
2017-04-26 05:21:59,598 :https://help.pythonanywhere.com/pages/DebuggingImportError/
2017-04-26 05:21:59,598 :***************************************************

Python is complaining that you have a non-ASCII character in your code, at line 144 in the settings.py file. There's a link to the appropriate part of the Python documentation.