为了能快速了解并处理您的问题,请提供以下基础信息: 8.0.48
CentOS 7.9.2009 x86_64(Py3.7.9) 点击网站→python项目,提示“出错了,面板运行时发生错误!” REQUEST_DATE: 2024-01-09 15:10:38
VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 8.0.48
REMOTE_ADDR: 83.147.61.217
REQUEST_URI: POST /project/python/list_py_version?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2302, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2249, 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/projectModel/pythonModel.py", line 3327, in list_py_version
all_s, errmsg = pyvm.api_ls_remote(True, force=True)
File "/www/server/panel/class/projectModel/btpyvm.py", line 352, in api_ls_remote
self.get_py_version(force)
File "/www/server/panel/class/projectModel/btpyvm.py", line 251, in get_py_version
self.stable_versions, err = self._get_versions_by_cloud()
File "/www/server/panel/class/projectModel/btpyvm.py", line 286, in _get_versions_by_cloud
self._base_url: str = res["url"]
KeyError: 'url'
|
|