Django开发服务器1.6没有在第一次运行时启动

时间:2013-12-07 18:41:23

标签: python django

Django开发服务器1.6在第一次使用标准配置文件时没有启动。有什么问题?

December 07, 2013 - 20:21:45
Django version 1.6, using settings 'test_project.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Unhandled exception in thread started by <function check_errors.<locals>.wrapper
 at 0x028D3DB0>
Traceback (most recent call last):
  File "D:\program_files\python33\lib\site-packages\django\utils\autoreload.py",
 line 93, in wrapper
    fn(*args, **kwargs)
...
...
...
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 2: invalid
continuation byte

完整错误列表here

1 个答案:

答案 0 :(得分:0)

问题在于计算机名称中的西里尔符号。重命名并重新启动后,一切正常。