При создании нового проекта, после manage.py runserver, лезет ошибка.
Имя пользователя на английском так же как и путь к файлу, manage.py как и другие файлы используют utf-8.
Не встречал такую проблему раньше, буду рад любой помощи или совету
System check identified no issues (0 silenced).
August 04, 2022 - 15:30:09
Django version 4.1, using settings 'base.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:\pthn\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\pthn\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\pthn\lib\site-packages\django\utils\autoreload.py", line 64, in wrapp
er
fn(*args, **kwargs)
File "C:\pthn\lib\site-packages\django\core\management\commands\runserver.py",
line 158, in inner_run
run(
File "C:\pthn\lib\site-packages\django\core\servers\basehttp.py", line 236, in
run
httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)
File "C:\pthn\lib\site-packages\django\core\servers\basehttp.py", line 76, in
__init__
super().__init__(*args, **kwargs)
File "C:\pthn\lib\socketserver.py", line 452, in __init__
self.server_bind()
File "C:\pthn\lib\wsgiref\simple_server.py", line 50, in server_bind
HTTPServer.server_bind(self)
File "C:\pthn\lib\http\server.py", line 140, in server_bind
self.server_name = socket.getfqdn(host)
File "C:\pthn\lib\socket.py", line 756, in getfqdn
hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 5: invalid
continuation byte