出错了,面板运行时发生错误!
AttributeError: 'NoneType' object has no attribute 'groups'
REQUEST_DATE: 2024-02-29 20:47:57
PAN_VERSION: 7.9.0
OS_VERSION: Windows Server 2012 R2 Standard (build 9600) x64 (Py3.8.6)
REMOTE_ADDR: 111.19.79.91
REQUEST_URI: POST /database/mysql/GetCloudServer?
REQUEST_FORM: {'data': '{"type":"mysql"}'}
USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.289 Safari/537.36
Traceback (most recent call last):
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject
return run_exec().run(toObject, defs, get)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
result = eval(fun)
File "", line 1, in
File "D:\BtSoft\panel/class\panelDatabaseController.py", line 50, in model
run_object = getattr(def_object.main(),def_name,None)
File "D:\BtSoft\panel/class/databaseModel/mysqlModel.py", line 34, in __init__
self._version = re.search('([MySQL|MariaDB-]+\d+\.\d+)',public.get_server_path('mysql')).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups' |