为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:出错了,面板运行时发生错误!
相关截图(日志、错误):
出错了,面板运行时发生错误!
TypeError: expected str, bytes or os.PathLike object, not NoneType
REQUEST_DATE: 2024-01-18 11:10:32 VERSION: Ubuntu 18.04.4 LTS (Bionic Beaver) x86_64(Py3.7.8) - 8.0.5 REMOTE_ADDR: 117.89.51.9 REQUEST_URI: POST /panel/public/get_public_config?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2302, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2249, in run result = getattr(toObject, get.action)(get) File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/panelModel/publicModel.py", line 57, in get_public_config data = _config_obj.get_config(args) File "class/config.py", line 1610, in get_config from password import password File "class/password.py", line 20, in import public,data,database,config File "class/database.py", line 26, in class database(datatool.datatools): File "class/database.py", line 28, in database _DB_BACKUP_DIR = os.path.join(public.M("config").where("id=?", (1,)).getField("backup_path"), "database") File "/www/server/panel/pyenv/lib/python3.7/posixpath.py", line 80, in join a = os.fspath(a)TypeError: expected str, bytes or os.PathLike object, not NoneType
|
|