【已完成】求助面版报错
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:系统版本:
问题描述:
相关截图(日志、错误):
出错了,面板运行时发生错误!UnicodeDecodeError: 'mbcs' codec can't decode bytes in position 0--1: No mapping for the Unicode character exists in the target code page.
REQUEST_DATE: 2024-03-14 16:28:08 PAN_VERSION: 7.9.0OS_VERSION: Windows 10 Pro (build 22631) x64 (Py3.8.6) REMOTE_ADDR: 127.0.0.1 REQUEST_URI: GET /site?REQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36Traceback (most recent call last):File "D:\BtSoft\panel/class\public.py", line 363, in ReadFile f_body = fp.read()UnicodeDecodeError: 'gbk' codec can't decode byte 0xb3 in position 40962: illegal multibyte sequenceDuring handling of the above exception, another exception occurred:Traceback (most recent call last):File "D:\BtSoft\panel/class\public.py", line 373, in ReadFile f_body = fp.read()File "C:\Program Files\python\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final)UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb3 in position 40962: invalid start byteDuring handling of the above exception, another exception occurred:Traceback (most recent call last):File "D:\BtSoft\panel/class\public.py", line 382, in ReadFile f_body = fp.read()UnicodeDecodeError: 'gbk' codec can't decode byte 0xb3 in position 40962: illegal multibyte sequenceDuring handling of the above exception, another exception occurred:Traceback (most recent call last):File "C:\Program Files\python\lib\site-packages\flask\app.py", line 2447, in wsgi_app response = self.full_dispatch_request()File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e)File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb)File "C:\Program Files\python\lib\site-packages\flask\_compat.py", line 39, in reraise raise valueFile "C:\Program Files\python\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request rv = self.dispatch_request()File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1936, in dispatch_request return self.view_functions(**req.view_args)File "D:\BtSoft\panel\BTPanel\__init__.py", line 607, in site data = system.system().GetConcifInfo()File "D:\BtSoft\panel/class\system.py", line 49, in GetConcifInfo phpConfig = self.GetPHPConfig(version)File "D:\BtSoft\panel/class\system.py", line 125, in GetPHPConfig phpini = public.readFile(file)File "D:\BtSoft\panel/class\public.py", line 406, in readFile return ReadFile(filename, mode)File "D:\BtSoft\panel/class\public.py", line 391, in ReadFile f_body = fp.read()File "C:\Program Files\python\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final)UnicodeDecodeError: 'mbcs' codec can't decode bytes in position 0--1: No mapping for the Unicode character exists in the target code page.
[*]
http://127.0.0.1:8888/static/images/customer-qrcode.png
面板不支持家用系统安装
仅支持Windows Server 2008 R2/2012/2016/2019/2022,64位系统(中文简体),且未安装其它环境
页:
[1]