为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:CentOS 7.1.1503 x86_64(Py3.7.9)
相关截图(日志、错误):REQUEST_DATE: 2025-08-05 14:45:41 VERSION: CentOS 7.1.1503 x86_64(Py3.7.9) - 9.6.0 REMOTE_ADDR: 112.52.37.50 REQUEST_URI: POST /mod/python/environment/list_environment?REQUEST_FORM: {'sort_not_use': '1'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2525, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2472, in run result = getattr(toObject, get.action)(get) File "/www/server/panel/mod/modController.py", line 84, in model result = PluginLoader.module_run("{}/{}".format(module_name, sub_mod_name), def_name, pdata) File "/www/server/panel/mod/project/python/environmentMod.py", line 72, in list_environment i["system_data"] = env_map[i["system_path"]]KeyError: '/usr/bin/python3.6' |
|