为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本:面板:9.2.0 插件:[backcolor=rgba(242, 242, 242, 0.01)]clamav病毒检测 1.2
系统版本:CentOS 7.6.1810 x86_64
问题描述:clamav病毒检测 插件检测记录的日志点击报错
相关截图(日志、错误):打开插件『clamav病毒检测 1.2』,点击弹窗中左侧『检测记录』,点击记录右侧操作『日志』,弹出报错。 出错了,[clamav病毒检测]运行时发生错误!UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 8135: invalid start byte
REQUEST_DATE: 2024-11-18 10:28:54 PAN_VERSION: 9.2.0 OS_VERSION: CentOS 7.6.1810 x86_64(Py3.7.8) REMOTE_ADDR: 113.218.148.15 REQUEST_URI: POST /plugin%3Faction%3Da%26name%3Dclamav%26s%3Dget_scan_logREQUEST_FORM: {'scan_id': '1729828678', 'count': '20', 'p': '1'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36Traceback (most recent call last): File "class/panelPlugin.py", line 3739, in a return p.exec_fun(get) File "class/pluginAuth.py", line 67, in exec_fun raise public.PanelError(res['msg'])public.PanelError: 面板运行时发生错误: Traceback (most recent call last): File "/www/server/panel/plugin/clamav/clamav_main.py", line 366, in get_scan_log total_lines = sum(1 for _ in file) File "/www/server/panel/plugin/clamav/clamav_main.py", line 366, in total_lines = sum(1 for _ in file) 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 0xba in position 8135: invalid start byte
|
|