为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本:[url=]8.0.3[/url] 系统版本:Debian GNU/Linux 11 x86 64(Py3.7.9)
相关截图(日志、错误):REQUEST_DATE: 2023-11-11 03:46:44 PAN_VERSION: 8.0.3 OS_VERSION: Debian GNU/Linux 11 x86_64(Py3.7.9) REMOTE_ADDR: 113.127.89.40 REQUEST_URI: POST /plugin?action=install_pluginREQUEST_FORM: {'sName': 'php-5.6', 'version': '5.6', 'min_version': '40', 'type': 'NaN'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2031, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1978, in run result = getattr(toObject, get.action)(get) File "class/panelPlugin.py", line 796, in install_plugin if int(get.type) > 4: get.type = '0'ValueError: invalid literal for int() with base 10: 'NaN'
|