【已完成】 报错 module 'public' has no attribute 'get_size_to...
REQUEST_DATE: 2024-04-11 14:33:55VERSION: CentOS8.5.2111 x86_64(Py3.7.9)- 8.0.6 REMOTE_ADDR: 124.114.78.91 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/123.0.0.0 Safari/537.36Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 2300, in publicObject to_path = filename.replace(find['filename'], '').strip('/')File "/www/server/panel/BTPanel/__init__.py", line 2247, in run # 初始化面板接口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 = self.get_all_quota(paths)File "/www/server/panel/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'您好,这个问题在8.1.0版本已经修复,面板首页---右上角----修复按钮 修复即可,如果还是报这个错误,请重新发帖求助。本帖暂时关闭 您好,尝试修复一下面板,或者重启一下 我也出现这样的问题,好恐怖 暖风 发表于 2024-4-12 11:18
我也出现这样的问题,好恐怖
截图看一下 运维技术南一 发表于 2024-4-17 11:18
截图看一下
如果还有问题的话请重新发帖,这个帖子关闭了
页:
[1]