为了能快速了解并处理您的问题,请提供以下基础信息: 相关截图(日志、错误):REQUEST_DATE: 2024-04-24 20:53:00 PAN_VERSION: 7.9.0 OS_VERSION: Windows Server 2019 Datacenter (build 17763) x64 (Py3.8.6) REMOTE_ADDR: 127.0.0.1 REQUEST_URI: POST /site?action=check_ssl_info REQUEST_FORM: {'path': 'D:/BtSoft/temp/ssl/1713963173553'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Traceback (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 0xa1 in position 10: illegal multibyte sequence During 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 0xa1 in position 10: invalid start byte During 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 0xa1 in position 10: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject return run_exec().run(toObject, defs, get) File "D:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run result = eval(fun) File "", line 1, in File "D:\BtSoft\panel/class\panelSite.py", line 5858, in check_ssl_info data = public.readFile(filepath) 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.
|
-
-
|