TypeError: exceptions must derive from BaseException
REQUEST_DATE: 2022-04-15 17:53:22 PAN_VERSION: 7.9.0 OS_VERSION: CentOS 8.5.2111 x86_64(Py3.7.9) REMOTE_ADDR: 192.168.8.26 REQUEST_URI: POST /ssl?action=GetAuthTokenREQUEST_FORM: {'username': '21312321434', 'password': '21312321321'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36Traceback (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
|
|