【待反馈】面板有些页面打不开,bt16修复了也没用
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.1.0系统版本:centos-7
问题描述:面板页面打不开,显示缺少插件ModuleNotFoundError: No module named 'panelSite'
相关截图(日志、错误):ModuleNotFoundError: No module named 'panelSite'
REQUEST_DATE: 2024-09-10 10:17:35VERSION: CentOS7.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)(**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:35VERSION: CentOS7.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'
ModuleNotFoundError: No module named 'panelSite'
REQUEST_DATE: 2024-09-10 10:19:22VERSION: CentOS7.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'
ModuleNotFoundError: No module named 'panelSite'
REQUEST_DATE: 2024-09-10 10:21:34VERSION: CentOS7.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)(**view_args)File "/www/server/panel/BTPanel/__init__.py", line 607, in site import panelSiteModuleNotFoundError: No module named 'panelSite'
您好,您这边执行btpip install panelsite后再查看一下 运维技术阿闯 发表于 2024-9-10 14:57
您好,您这边执行btpip install panelsite后再查看一下
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
ERROR: Could not find a version that satisfies the requirement panelsite
ERROR: No matching distribution found for panelsite
WARNING: You are using pip version 20.3.3; however, version 24.0 is available.
You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command. 宝塔用户_lytvui 发表于 2024-9-11 09:42
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
ERROR: Could not find a version that s ...
您好,这次使用pip install panelsite后再查看一下 运维技术阿闯 发表于 2024-9-11 11:42
您好,这次使用pip install panelsite后再查看一下
说我有非法字符,截图又截不了太大的 宝塔用户_lytvui 发表于 2024-9-11 14:47
说我有非法字符,截图又截不了太大的
换一个pip源后再看一下,不会换的话,软件商店有一个linux工具箱。,可以更换的 运维技术阿闯 发表于 2024-9-11 16:52
换一个pip源后再看一下,不会换的话,软件商店有一个linux工具箱。,可以更换的 ...
没用,从官方源到腾讯源每个都选了,都一样
宝塔用户_lytvui 发表于 2024-9-11 17:17
没用,从官方源到腾讯源每个都选了,都一样
这个提示您找不到这个模块
您这是否有在本地安装python呢
提示的是您系统上的pip找不到这个模块
其次,这边错误,python是识别大小写的
您使用这个命令
pip install panelSite
也是一样的,我这个宝塔是很久之前 2020年左右安装的,之前的版本不安装python么,之前用的也是好好的,最近才出现这事的
面板的好多页面都打不开
宝塔用户_lytvui 发表于 2024-9-12 11:19
面板的好多页面都打不开
您好,您这个是安装不了这个模块,估计跟系统有关,是新机器吗,是的话,换个debian12的系统后看一下 运维技术阿闯 发表于 2024-9-12 12:04
您好,您这个是安装不了这个模块,估计跟系统有关,是新机器吗,是的话,换个debian12的系统后看一下 ...
不是新机器,好久之前就安装过了 2020年左右 宝塔用户_lytvui 发表于 2024-9-12 17:35
不是新机器,好久之前就安装过了 2020年左右
您好,机器做好快照了嘛,快照做好后升级一下php的版本
pip install --upgrade pip
页:
[1]
2