出错了,面板运行时发生错误!AttributeError: module 'public' has no attribute 'get_disk_usage'
REQUEST_DATE: 2024-09-25 17:08:38 VERSION: CentOS 7.6.1810 x86_64(Py3.7.9) - 9.2.0 REMOTE_ADDR: 222.67.8.113 REQUEST_URI: POST /panel/public/get_public_config?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2300, in publicObject return abort(404) File "/www/server/panel/BTPanel/__init__.py", line 2247, in run except Exception as ex: File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/panelModel/publicModel.py", line 84, in get_public_config data['disk_usage'] = public.get_disk_usage(public.get_panel_path())AttributeError: module 'public' has no attribute 'get_disk_usage'点修复无法点击
|
|