为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:面板页面打不开,显示缺少插件 ModuleNotFoundError: No module named 'panelSite'
相关截图(日志、错误): ModuleNotFoundError: No module named 'panelSite'
REQUEST_DATE: 2024-09-10 10:17:35 VERSION: CentOS 7.2.1511 x86_64(Py3.7.9) - 9.1.0 REMOTE_ADDR: 172.21.128.198 REQUEST_URI: POST /site?action=get_site_typesREQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/www/server/panel/BTPanel/__init__.py", line 607, in site import panelSiteModuleNotFoundError: No module named 'panelSite'ModuleNotFoundError: No module named 'panelSite'
REQUEST_DATE: 2024-09-10 10:17:35 VERSION: CentOS 7.2.1511 x86_64(Py3.7.9) - 9.1.0 REMOTE_ADDR: 172.21.128.198 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/122.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2435, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2382, in run result = getattr(toObject, get.action)(get) 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 314, in func_models return obj_main.model(args) File "class/panelController.py", line 86, in model raise public.PanelError(result['msg'])public.PanelError: 面板运行时发生错误: Traceback (most recent call last): File "/www/server/panel/class/datalistModel/sitesModel.py", line 14, in import panelSiteModuleNotFoundError: No module named 'panelSite'
|
|