面板运行时发生错误
在线
客服
宝塔Linux面板 ©2014-2022 广东堡塔安全技术有限公司 (bt.cn) 论坛求助| 使用手册| [url=]微信公众号[/url]| 正版查询
出错了,面板运行时发生错误!UnicodeDecodeError: 'gbk' codec can't decode byte 0xa3 in position 58: illegal multibyte sequence
REQUEST_DATE: 2022-09-05 07:24:02 PAN_VERSION: 7.9.3 OS_VERSION: CentOS 7.6.1810 x86_64(Py3.7.9) REMOTE_ADDR: 222.217.57.82 REQUEST_URI: POST /files?action=UnZipREQUEST_FORM: {'sfile': '/www/wwwroot/www.fanshuzy.com/wordpress5.3.2安装包.zip', 'dfile': '/www/wwwroot/www.fanshuzy.com', 'type': 'zip', 'coding': 'UTF-8', 'password': '******'} USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
Traceback (most recent call last): File "class/public.py", line 295, in ReadFile f_body = fp.read() File "/www/server/panel/pyenv/lib/python3.7/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final)UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd7 in position 81: invalid continuation byteDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "class/public.py", line 300, in ReadFile f_body = fp.read() File "/www/server/panel/pyenv/lib/python3.7/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final)UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd7 in position 81: invalid continuation byteDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1786, in publicObject return run_exec().run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1734, in run result = getattr(toObject,get.action)(get) File "class/files.py", line 1645, in UnZip return task_obj._unzip(get.sfile, get.dfile, get.password,"/tmp/unzip.log") File "class/panelTask.py", line 399, in _unzip log_msg = public.readFile(log_file) File "class/public.py", line 319, in readFile return ReadFile(filename,mode) File "class/public.py", line 303, in ReadFile f_body = fp.read()UnicodeDecodeError: 'gbk' codec can't decode byte 0xa3 in position 58: illegal multibyte sequence
|
-
|