芯湖 发表于 2022-11-4 21:24:50

【已解答】系统:CentOS 7.6.1810 (Py2.7.5) 升到 免费版 7.9.5 报错...

出错了,面板运行时发生错误!ImportError: dynamic module does not define init function (initPluginLoader)
REQUEST_DATE: 2022-11-04 21:23:04 PAN_VERSION: 7.9.5OS_VERSION: CentOS7.6.1810 (Py2.7.5) REMOTE_ADDR: 117.154.248.247 REQUEST_URI: GET /database?REQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36 SE 2.X MetaSr 1.0Traceback (most recent call last):File "/usr/lib/python2.7/site-packages/flask/app.py", line 2446, in wsgi_app    response = self.full_dispatch_request()File "/usr/lib/python2.7/site-packages/flask/app.py", line 1951, in full_dispatch_request    rv = self.handle_user_exception(e)File "/usr/lib/python2.7/site-packages/flask/app.py", line 1820, in handle_user_exception    reraise(exc_type, exc_value, tb)File "/usr/lib/python2.7/site-packages/flask/app.py", line 1949, in full_dispatch_request    rv = self.dispatch_request()File "/usr/lib/python2.7/site-packages/flask/app.py", line 1935, in dispatch_request    return self.view_functions(**req.view_args)File "/www/server/panel/BTPanel/__init__.py", line 457, in database    from panelPlugin import panelPluginFile "/usr/lib64/python2.7/site-packages/gevent/builtins.py", line 96, in __import__    result = _import(*args, **kwargs)File "class/panelPlugin.py", line 11, in   from pluginAuth import PluginFile "/usr/lib64/python2.7/site-packages/gevent/builtins.py", line 96, in __import__    result = _import(*args, **kwargs)File "class/pluginAuth.py", line 16, in   import PluginLoaderFile "/usr/lib64/python2.7/site-packages/gevent/builtins.py", line 96, in __import__    result = _import(*args, **kwargs)ImportError: dynamic module does not define init function (initPluginLoader)
[*]很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
[*]修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。
[*]修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs

运维风光 发表于 2022-11-5 14:57:23

您好,问题解决了吗?如果没有参考这个帖子处理下
https://www.bt.cn/bbs/thread-101123-1-1.html
页: [1]
查看完整版本: 【已解答】系统:CentOS 7.6.1810 (Py2.7.5) 升到 免费版 7.9.5 报错...