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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值