本帖最后由 堡塔运维香菜卷 于 2023-9-19 14:10 编辑
为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:CentOS 7.9.2009 x86_64(Py3.7.9)
相关截图(日志、错误):Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2023, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1970, in run result = getattr(toObject, get.action)(get) File "/www/server/panel/class/panelWarning.py", line 48, in get_list self.system_scan() File "/www/server/panel/class/panelWarning.py", line 231, in system_scan vul_list = self.get_vul_list() File "/www/server/panel/class/panelWarning.py", line 539, in get_vul_list return json.loads(public.ReadFile(self.__vul_list)) File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 341, in loads raise TypeError(f'the JSON object must be str, bytes or bytearray, 'TypeError: the JSON object must be str, bytes or bytearray, not bool
|
|