REQUEST_DATE: 2022-01-27 17:44:27
PAN_VERSION: 7.8.0
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 58.19.92.200
REQUEST_URI: POST /plugin?action=repair_plugin
REQUEST_FORM: {'version': '6', 'min_version': '3', 'plugin_name': 'free_waf'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Traceback (most recent call last):
File "class/panelPlugin.py", line 499, in __download_plugin
headers_total_size = int(download_res.headers['File-size'])
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/structures.py", line 54, in __getitem__
return self._store[key.lower()][1]
KeyError: 'file-size'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1786, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1734, in run
result = getattr(toObject,get.action)(get)
File "class/panelPlugin.py", line 782, in repair_plugin
return self.__repair_plugin(get.plugin_name, get.version)
File "class/panelPlugin.py", line 102, in __repair_plugin
return self.__install_plugin(upgrade_plugin_name,upgrade_version)
File "class/panelPlugin.py", line 90, in __install_plugin
filename = self.__download_plugin(upgrade_plugin_name,upgrade_version)
File "class/panelPlugin.py", line 501, in __download_plugin
raise public.PanelError(download_res.text)
public.PanelError: 面板运行时发生错误: '未找到插件[free_waf].'
|
|