TypeError: exceptions must derive from BaseException!出错信息如下:出错了,面板运行时发生错误!出错了,面板运行时发生错误!TypeError: exceptions must derive from BaseException
REQUEST_DATE: 2022-04-02 11:54:51 PAN_VERSION: 7.9.0 OS_VERSION: CentOS 7.7.1908 x86_64(Py3.7.9) REMOTE_ADDR: 222.91.199.199 REQUEST_URI: POST /ssl?action=GetAuthTokenREQUEST_FORM: {'username': '22', 'password': '22'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55Traceback (most recent call last): File "class/panelSSL.py", line 1037, in GetAuthToken result = json.loads(rtmp); File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 341, in loads raise TypeError(f'the JSON object must be str, bytes or bytearray, 'TypeError: the JSON object must be str, bytes or bytearray, not boolDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1711, in publicObject return run_exec().run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1659, in run result = getattr(toObject,get.action)(get) File "class/panelSSL.py", line 1051, in GetAuthToken raise public.error_conn_cloud(str(ex))TypeError: exceptions must derive from BaseException
|
|