Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json.decoder.JSONDecodeError #1

Open
3Thiago opened this issue Apr 1, 2019 · 0 comments
Open

json.decoder.JSONDecodeError #1

3Thiago opened this issue Apr 1, 2019 · 0 comments

Comments

@3Thiago
Copy link

3Thiago commented Apr 1, 2019

Hi guys, when I run python3.6 bot.py, an error occurs. the conf.json file has been configured.

Traceback (most recent call last):
File "bot.py", line 3, in
from utils import output, parsing, checks, mysql_module, g
File "/root/TipBot_Github/Helix-tip-bot/utils/output.py", line 8, in
config = parsing.parse_json('config.json')["logging"]
File "/root/TipBot_Github/Helix-tip-bot/utils/parsing.py", line 13, in parse_json
contents = json.loads(content)
File "/usr/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 30 column 22 (char 836)

Can someone help me? I'm looking forward to testing this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant