本帖最后由 堡塔运维小林 于 2023-5-14 11:53 编辑
为了能快速了解并处理您的问题,请提供以下基础信息:
Ubuntu 18.04 LTS x86_64(Py3.7.8)
18.04 LTS x86_64(Py3.7.8)
Redis一直安装不了,不知道是不是境外服务器的问题,求解
TypeError: 'bool' object is not subscriptable
REQUEST_DATE: 2023-05-13 23:23:25 PAN_VERSION: 7.9.10 OS_VERSION: Ubuntu 18.04 LTS x86_64(Py3.7.8) REMOTE_ADDR: 121.33.172.217 REQUEST_URI: POST /database/redis/get_db_keylist?REQUEST_FORM: {'data': '{"db_type":0,"db_idx":0,"limit":20}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2005, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1952, 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 244, in get_db_keylist redis_obj = self.get_obj_by_sid(self.sid).redis_conn(db_idx) File "/www/server/panel/class/databaseModel/redisModel.py", line 44, in redis_conn self.__DB_PASS = self.__config['requirepass']TypeError: 'bool' object is not subscriptable
|
|