python exception in thread_这个是什么原因,请问怎么处理Exception in thr

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

这个是什么原因,请问怎么处理

Exception in thread django-main-thread:

Traceback (most recent call last):

File "D:\Python36\lib\threading.py", line 916, in _bootstrap_inner

self.run()

File "D:\Python36\lib\threading.py", line 864, in run

self._target(*self._args, **self._kwargs)

File "C:\Users\ASUS\PycharmProjects\Django\test1\venv\lib\site-packages\django\utils\autoreload.py", line 54, in wrapp

er

fn(*args, **kwargs)

File "C:\Users\ASUS\PycharmProjects\Django\test1\venv\lib\site-packages\django\core\management\commands\runserver.py",

line 139, in inner_run

ipv6=self.use_ipv6, threading=threading, server_cls=self.server_cls)

File "C:\Users\ASUS\PycharmProjects\Django\test1\venv\lib\site-packages\django\core\servers\basehttp.py", line 203, in

run

httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)

File "C:\Users\ASUS\PycharmProjects\Django\test1\venv\lib\site-packages\django\core\servers\basehttp.py", line 67, in

__init__

super().__init__(*args, **kwargs)

File "D:\Python36\lib\socketserver.py", line 453, in __init__

self.server_bind()

File "D:\Python36\lib\wsgiref\simple_server.py", line 50, in server_bind

HTTPServer.server_bind(self)

File "D:\Python36\lib\http\server.py", line 138, in server_bind

self.server_name = socket.getfqdn(host)

File "D:\Python36\lib\socket.py", line 673, in getfqdn

hostname, aliases, ipaddrs = gethostbyaddr(name)

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 2: invalid continuation byte

你可能感兴趣的:(python,exception,in,thread)