您在访问[宝塔跑分]插件时,意外发生错误↓。全新服务器,刚安装宝塔面板,只安装了LNMP。没有网站,没安装其它东西。跑分几次一样错误
TypeError: the JSON object must be str, bytes or bytearray, not bool
REQUEST_DATE: 2023-02-16 15:47:33 PAN_VERSION: 7.9.8 OS_VERSION: Ubuntu 22.10 x86_64(Py3.7.8) REMOTE_ADDR: 211.21.6.181 REQUEST_URI: GET /plugin%3Faction%3Da%26amp%3Bname%3Dscore%26amp%3Bs%3DGetScoreREQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36Traceback (most recent call last): File "class/panelPlugin.py", line 3108, in a return p.exec_fun(get) File "class/pluginAuth.py", line 67, in exec_fun raise public.PanelError(res['msg'])public.PanelError: 面板运行时发生错误: Traceback (most recent call last): File "/www/server/panel/plugin/score/score_main.py", line 56, in GetScore result = json.loads(public.httpPost(self.__APIURL+'/GetSocre',self.__PDATA)); 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 bool
|
|