为了能快速了解并处理您的问题,请提供以下基础信息:
REQUEST_DATE: 2023-12-24 23:06:32
PAN_VERSION: 8.0.47
OS_VERSION: CentOS 7.9.2009 (AltArch) aarch64(Py3.7.8)
REMOTE_ADDR: 10.168.1.191
REQUEST_URI: POST /plugin?action=install_plugin
REQUEST_FORM: {'sName': 'redis', 'version': '7.2', 'min_version': '3', 'type': 'NaN'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2286, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2233, in run
result = getattr(toObject, get.action)(get)
File "class/panelPlugin.py", line 807, in install_plugin
if int(get.type) > 4: get.type = '0'
ValueError: invalid literal for int() with base 10: 'NaN'
|
|