###前提・実現したいこと
Django Girls TutorialというサイトでWebアプリの作り方を勉強しています。
コマンドプロンプトでサーバーを動かそうとした時に以下のエラーメッセージが発生しました。
###発生している問題・エラーメッセージ
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 0x0424A108> Traceback (most recent call last): File "C:\Users\NAME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\utils\autoreload.py", line 227, in wrapper fn(*args, **kwargs) File "C:\Users\NAME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\commands\runserver.py", line 149, in inner_run ipv6=self.use_ipv6, threading=threading, server_cls=self.server_cls) File "C:\Users\NAME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\servers\basehttp.py", line 164, in run httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6) File "C:\Users\NAME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\servers\basehttp.py", line 74, in __init__ super(WSGIServer, self).__init__(*args, **kwargs) File "C:\Users\N\AppData\Local\Programs\Python\Python36-32\lib\socketserver.py", line 453, in __init__ self.server_bind() File "C:\Users\NAME\AppData\Local\Programs\Python\Python36-32\lib\wsgiref\simple_server.py", line 50, in server_bind HTTPServer.server_bind(self) File "C:\Users\NAME\AppData\Local\Programs\Python\Python36-32\lib\http\server.py", line 138, in server_bind self.server_name = socket.getfqdn(host) File "C:\Users\NAME\AppData\Local\Programs\Python\Python36-32\lib\socket.py", line 673, in getfqdn hostname, aliases, ipaddrs = gethostbyaddr(name) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 0: invalid start byte
###該当のソースコード
(myvenv) C:\Users\NAME\Desktop\djangogirls>python manage.py runserver
知識が乏しいためエラーメッセージを読んでも原因がよく分かりません。
分かる方いらっしゃればアドバイスをお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/08/27 01:18