为了能快速了解并处理您的问题,请提供以下基础信息: Beta 8.0.21
CentOS 7.9.2009 x86_64(Py3.79)
点击面板右上角“更新”按钮,提示报错KeyError: 'site_push'
REQUEST_DATE: 2023-08-11 23:49:18
PAN_VERSION: 8.0.21
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REQUEST_URI: POST /push?action=get_push_config
REQUEST_FORM: {'id': 'panel_update', 'name': 'site_push'}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.43
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2030, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1977, in run
result = getattr(toObject, get.action)(get)
File "/www/server/panel/class/panelPush.py", line 200, in get_push_config
result = push_module.get_push_config(get)
File "/www/server/panel/class/push/site_push.py", line 959, in get_push_config
if not task_id in push_list["site_push"]:
KeyError: 'site_push'
|
|