本帖最后由 堡塔运维小林 于 2023-8-17 19:39 编辑
<div>
<h3>出错了,[Python项目管理器]运行时发生错误!</h3>
<div style="margin-bottom: 15px;margin-top: 15px;color: red;">
<h4 style="font-size: none;">NameError: name 'supervisor_main' is not defined</h4>
</div>
<pre style="height:165px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 10px">REQUEST_DATE: 2023-08-14 05:03:37
PAN_VERSION: 8.0.1
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 118.124.41.167
REQUEST_URI: POST /plugin%3Faction%3Da%26name%3Dpythonmamager%26s%3DStartProject
REQUEST_FORM: {'pjname': 'maotai', 'is_supervisor': '1'}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36</pre>
<pre style="height:379px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 0px">Traceback (most recent call last):
File "class/panelPlugin.py", line 3159, in a
return p.exec_fun(get)
File "class/pluginAuth.py", line 67, in exec_fun
raise public.PanelError(res['msg'])
public.PanelError: 面板运行时发生错误: Traceback (most recent call last):
File "/www/server/panel/plugin/pythonmamager/pythonmamager_main.py", line 981, in StartProject
conf["supervisor_name"] = self.get_new_supervisor_name(pj_name)
File "/www/server/panel/plugin/pythonmamager/pythonmamager_main.py", line 766, in get_new_supervisor_name
if not self._supervisor_exists(supervisor_name):
File "/www/server/panel/plugin/pythonmamager/pythonmamager_main.py", line 523, in _supervisor_exists
for i in self.supervisor_list:
File "/www/server/panel/plugin/pythonmamager/pythonmamager_main.py", line 65, in supervisor_list
self._supervisor_list = supervisor_main().GetProcessList(None)
NameError: name 'supervisor_main' is not defined</pre>
<ul class="help-info-text">
<li style="list-style: none;"><b>很抱歉,您在访问[Python项目管理器]插件时,意外发生错误,请尝试按以下顺序尝试解除此错误:</b></li>
<li style="list-style: none;">1、在[首页]右上角点击修复面板,并退出面板重新登录。</li>
<li style="list-style: none;">2、若此插件不是最新版,尝试更新到最新版,若已是最新版,请尝试重装此插件,若为测试版,请尝试切换为正式版</li>
<li style="list-style: none;">3、若此插件为第三方插件,请在插件窗口中找到插件作者联系方式,尝试联系作者寻求帮助</li>
<li style="list-style: none;">4、如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:<a class="btlink" href="https://www.bt.cn/bbs" target="_blank">https://www.bt.cn/bbs</a></li>
</ul>
</div>
|
|