Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Exception: json decoder #23

Closed
FeeiCN opened this issue Mar 12, 2018 · 1 comment
Closed

Exception: json decoder #23

FeeiCN opened this issue Mar 12, 2018 · 1 comment
Labels

Comments

@FeeiCN
Copy link
Owner

FeeiCN commented Mar 12, 2018

少数情况下会有以下异常

/var/app/gsil/gsil.py meili 
Traceback (most recent call last): 
File "/var/app/gsil/gsil.py", line 28, in sys.exit(gsil()) 
File "/var/app/gsil/gsil/__init__.py", line 102, in gsil generate_report(running_data) 
File "/var/app/gsil/gsil/__init__.py", line 83, in generate_report run_data = daily_run_data() 
File "/var/app/gsil/gsil/config.py", line 293, in daily_run_data c = json.loads(c) 
File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) 
File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 
File "/usr/local/lib/python3.6/json/decoder.py", line 355, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 122847 (char 122846)
@FeeiCN FeeiCN added the bug label Mar 12, 2018
@FeeiCN
Copy link
Owner Author

FeeiCN commented Mar 13, 2018

8b73fe8

@FeeiCN FeeiCN closed this as completed Mar 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant