txl1983 发表于 2023-11-5 22:16:06

大佬求救,7.7.0版本BUG

大佬,7.7.0的版本,错误如下,网站的反向代理部分打开就报错

出错了,面板运行时发生错误!json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 24577 (char 24576)
REQUEST_DATE: 2023-11-05 21:15:03 PAN_VERSION: 7.7.0OS_VERSION: CentOS7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 61.147.115.133 REQUEST_URI: POST /site?action=GetProxyListREQUEST_FORM: {'sitename': 'm3.shadiao8.com'}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.69Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 1640, in publicObject    return run_exec().run(toObject, defs, get)File "/www/server/panel/BTPanel/__init__.py", line 1588, in run    result = getattr(toObject,get.action)(get)File "class/panelSite.py", line 3227, in GetProxyList    proxyUrl = self.__read_config(self.__proxyfile)File "class/panelSite.py", line 3170, in __read_config    return json.loads(upBody)File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 348, in loads    return _default_decoder.decode(s)File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 337, in decode    obj, end = self.raw_decode(s, idx=_w(s, 0).end())File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 353, in raw_decode    obj, end = self.scan_once(s, idx)json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 24577 (char 24576)删除网站也会报错出错了,面板运行时发生错误!json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 24577 (char 24576)
REQUEST_DATE: 2023-11-05 21:15:54 PAN_VERSION: 7.7.0OS_VERSION: CentOS7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 61.147.115.133 REQUEST_URI: POST /site?action=DeleteSiteREQUEST_FORM: {'id': '208', 'webname': 'www.qq.com', 'path': '1'}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.69Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 1640, in publicObject    return run_exec().run(toObject, defs, get)File "/www/server/panel/BTPanel/__init__.py", line 1588, in run    result = getattr(toObject,get.action)(get)File "class/panelSite.py", line 690, in DeleteSite    proxyconf = self.__read_config(self.__proxyfile)File "class/panelSite.py", line 3170, in __read_config    return json.loads(upBody)File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 348, in loads    return _default_decoder.decode(s)File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 337, in decode    obj, end = self.raw_decode(s, idx=_w(s, 0).end())File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 353, in raw_decode    obj, end = self.scan_once(s, idx)json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 24577 (char 24576)

txl1983 发表于 2023-11-5 22:17:55

错误产生是由于一些原因导致磁盘满了,当时删除一个网站的反向代理设置就开始提示上面的错误,修复了,升级版本都无法解决,大佬请帮下忙看下这是那里的问题。

诗与远方 发表于 2023-11-13 10:35:56

这不报错有提示么,按照要求重做一次PY
页: [1]
查看完整版本: 大佬求救,7.7.0版本BUG