第一次python YEDDA.py成功,X掉关闭后,再次python YEDDA.py 就报错,是线程或端口占用吗?
YEDDA launched!
OS: Windows
Traceback (most recent call last):
File "YEDDA.py", line 840, in
main()
File "YEDDA.py", line 834, in main
app = Application(root)
File "YEDDA.py", line 254, in init
self.readConfig()
File "YEDDA.py", line 273, in readConfig
config_dict = json.load(fp)
File "F:\anaconda\lib\json__init.py", line 293, in load
return loads(fp.read(),
File "F:\anaconda\lib\json\init__.py", line 357, in loads
return _default_decoder.decode(s)
File "F:\anaconda\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "F:\anaconda\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
第一次python YEDDA.py成功,X掉关闭后,再次python YEDDA.py 就报错,是线程或端口占用吗? YEDDA launched! OS: Windows Traceback (most recent call last): File "YEDDA.py", line 840, in
main()
File "YEDDA.py", line 834, in main
app = Application(root)
File "YEDDA.py", line 254, in init
self.readConfig()
File "YEDDA.py", line 273, in readConfig
config_dict = json.load(fp)
File "F:\anaconda\lib\json__init.py", line 293, in load
return loads(fp.read(),
File "F:\anaconda\lib\json\init__.py", line 357, in loads
return _default_decoder.decode(s)
File "F:\anaconda\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "F:\anaconda\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)