问题描述
我已经出现这个错误 2 天了 有人可以帮忙吗?
System check identified no issues (0 silenced).
January 17,2021 - 13:18:06
Django version 3.1.5,using settings 'dj_bootcamp.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Exception in thread django-main-thread:
Traceback (most recent call last):
File "C:\Users\Boshqaruvchi\AppData\Local\Programs\Python\python38-32\lib\threading.py",line 932,in _bootstrap_inner
self.run()
File "C:\Users\Boshqaruvchi\AppData\Local\Programs\Python\python38-32\lib\threading.py",line 870,in run
self._target(*self._args,**self._kwargs)
File "C:\Users\Boshqaruvchi\dj-bootcamp\lib\site-packages\django\utils\autoreload.py",line 53,in wrapper
fn(*args,**kwargs)
File "C:\Users\Boshqaruvchi\dj-bootcamp\lib\site-packages\django\core\management\commands\runserver.py",line 139,in inner_run
run(self.addr,int(self.port),handler,File "C:\Users\Boshqaruvchi\dj-bootcamp\lib\site-packages\django\core\servers\basehttp.py",line 206,in run
httpd = httpd_cls(server_address,WsgiRequestHandler,ipv6=ipv6)
File "C:\Users\Boshqaruvchi\dj-bootcamp\lib\site-packages\django\core\servers\basehttp.py",line 67,in __init__
super().__init__(*args,**kwargs)
File "C:\Users\Boshqaruvchi\AppData\Local\Programs\Python\python38-32\lib\socketserver.py",line 452,in __init__
self.server_bind()
File "C:\Users\Boshqaruvchi\AppData\Local\Programs\Python\python38-32\lib\wsgiref\simple_server.py",line 50,in server_bind
HTTPServer.server_bind(self)
File "C:\Users\Boshqaruvchi\AppData\Local\Programs\Python\python38-32\lib\http\server.py",line 140,in server_bind
self.server_name = socket.getfqdn(host)
File "C:\Users\Boshqaruvchi\AppData\Local\Programs\Python\python38-32\lib\socket.py",line 756,in getfqdn
hostname,aliases,ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 13: invalid continuation byte
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)