为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:升级到 Linux面板 8.0.5 报错,希望能尽快解决下
,出错了,面板运行时发生错误!AttributeError: module 'public' has no attribute 'get_size_total'
REQUEST_DATE: 2024-04-30 15:07:51 VERSION: Alibaba Cloud 3 (Soaring Falcon) x86_64(Py3.7.16) - 8.1.0 REMOTE_ADDR: 218.17.71.82 REQUEST_URI: POST /datalist/data/get_data_list?REQUEST_FORM: {'p': '1', 'limit': '10', 'search': '', 'type': '-1', 'table': 'sites'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36 HBPC/12.1.3.306Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2301, in publicObject File "/www/server/panel/BTPanel/__init__.py", line 2248, in run if public.is_spider(): return abort(404) File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/datalistModel/dataModel.py", line 56, in get_data_list data['data'] = self.func_models(get,'get_data_list') File "/www/server/panel/class/datalistModel/dataModel.py", line 309, in func_models return obj_main.model(args) File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/datalistModel/sitesModel.py", line 51, in get_data_list custom_conf[key] = self.get_all_quota(paths) File "class/datalistModel/base.py", line 48, in get_all_quota res = public.get_size_total(n_paths)AttributeError: module 'public' has no attribute 'get_size_total'- 很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
|
|