出错了,面板运行时发生错误!TypeError: expected string or bytes-like object- REQUEST_DATE: 2023-09-08 13:52:23
- PAN_VERSION: 8.0.25
- OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
- REMOTE_ADDR: 111.112.131.3
- REQUEST_URI: POST /database/mongodb/get_root_pwd?
- REQUEST_FORM: {}
- USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
复制代码- Traceback (most recent call last):
- File "/www/server/panel/BTPanel/__init__.py", line 2087, in publicObject
- res = run_obj.run(toObject, defs, get)
- File "/www/server/panel/BTPanel/__init__.py", line 2034, in run
- result = getattr(toObject, get.action)(get)
- File "/www/server/panel/class/panelDatabaseController.py", line 85, in model
- result = PluginLoader.module_run(module_name,def_name,pdata)
- File "/www/server/panel/class/databaseModel/mongodbModel.py", line 1003, in get_root_pwd
- config = panelMongoDB.get_options()
- File "/www/server/panel/class/databaseModel/mongodbModel.py", line 204, in get_options
- tmp = re.findall(opt + ":\s+(.+)", conf)
- File "/www/server/panel/pyenv/lib/python3.7/re.py", line 225, in findall
- return _compile(pattern, flags).findall(string)
- TypeError: expected string or bytes-like object
复制代码
|
|