Error While Running Django App
Solution 1:
I have not tested it, but I suppose this is a python error. The stack trace you have provided suggests, that the UnicodeDecodeError gets triggerd when your hostname gets copied into a python unicode string.
Please check if the hostname of the machine you are working on contains unicode characters.
This seems to be the same issue as yours. In the post the python Issue9377 is referenced which is still open.
Solution 2:
1) Check your settings.py manage.py wsgi.py etc. for the non-ascii literals.
2) When found add
# -*- coding: utf-8 -*-
at the beginning of your files
3) And add u at the beggining of strings that contains non-ascii literals
eg: u"This characters are not unicode : üşiğç"
///for python 2.x
Solution 3:
Try to verify host name. Migth be your host name contains some non-ascii literals. Seems that you use Windows 7 OS.
Post a Comment for "Error While Running Django App"