I couldn\'t find this exitcode anywhere but hopefully one of you could help me or let me know if this is a bug in python/Django.
Anyway, first here\'s the stacktrace
UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1:invalid character
I had the same problem on windows 7 with
$ python manage.py runserver
Just in case if someone has cyrillic computer name like I had, it's exactly the thing causing your encoding problem. So the solution is to rename your computer using latin alphabet symbols only.