我刚刚创建了新的django env,但由于此错误,我无法运行服务器。如何解决?
0 errors found
December 02, 2014 - 12:31:33
Django version 1.6.1, using settings 'mvp_landing.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Unhandled exception in thread started by <function wrapper at 0x0283AF30>
Traceback (most recent call last):
File "C:\Users\Jakub\Desktop\mvp\lib\site-packages\django\utils\autoreload.py"
, line 93, in wrapper
fn(*args, **kwargs)
File "C:\Users\Jakub\Desktop\mvp\lib\site-packages\django\core\management\comm
ands\runserver.py", line 139, in inner_run
self.stderr.write("Error: %s" % error_text)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb3 in position 19: ordinal
not in range(128)
答案 0 :(得分:2)
这是django源代码中的一个错误。 我刚为它创建了票证 - https://code.djangoproject.com/ticket/23946
您可以手动编辑此问题行,并在运行服务器时查看您遇到的套接字错误。