vivinano / MudaeAutoBot

python bot that uses strictly the **Discord API** to Roll,Claim,and Kakera Snipe in Mudae. 5/10/21 project converted over to discum library
Apache License 2.0
151 stars 49 forks source link

Index? #183

Closed ScikuVRC closed 2 years ago

ScikuVRC commented 2 years ago
  File "C:\Users\Sciku\Desktop\MudaeAutoBot-4\MudaeAutoBot.py", line 31, in <module>
    settings = json.load(jsonf)
  File "C:\Users\Sciku\AppData\Local\Programs\Python\Python39\lib\json\__init__.py", line 293, in load
    return loads(fp.read(),
  File "C:\Users\Sciku\AppData\Local\Programs\Python\Python39\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "C:\Users\Sciku\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\Sciku\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 6 column 4 (char 136)

Issue I'm getting, not sure what causes it, pretty new to Python.

vivinano commented 2 years ago

Just the json validation link in the readme and check if your settings_mudae is correctly formatted

ScikuVRC commented 2 years ago

Seems my Python installation might of been corrupted, fixed itself after "repairing", thanks for quick answer