出错了,面板运行时发生错误!
ValueError: invalid literal for int() with base 10: ''
REQUEST_DATE: 2024-03-21 13:56:42
VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 8.0.5
REMOTE_ADDR:
REQUEST_URI: POST /database/redis/get_list?
REQUEST_FORM: {'data': '{"sid":0}'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2319, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2266, in run
result = getattr(toObject, get.action)(get)
File "class/panelDatabaseController.py", line 85, in model
result = PluginLoader.module_run(module_name,def_name,pdata)
File "/www/server/panel/class/databaseModel/redisModel.py", line 189, in get_list
redis_obj = self.get_obj_by_sid(sid).redis_conn(0)
File "/www/server/panel/class/databaseModel/redisModel.py", line 53, in redis_conn
self.__DB_PORT = int(self.__config['port'])
ValueError: invalid literal for int() with base 10: '' |