PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

ValueError:Extra data? :(

Open RaizenInstinct opened this issue 10 years ago • 2 comments

Traceback (most recent call last): File "pokecli.py", line 220, in main() File "pokecli.py", line 197, in main config = init_config() File "pokecli.py", line 174, in init_config config.release_config.update(json.load(data)) File "C:\Python27\lib\json__init__.py", line 291, in load **kw) File "C:\Python27\lib\json__init__.py", line 339, in loads return _default_decoder.decode(s) File "C:\Python27\lib\json\decoder.py", line 367, in decode raise ValueError(errmsg("Extra data", s, end, len(s))) ValueError: Extra data: line 4 column 6 - line 24 column 1 (char 46 - 397)

JSON file: image

RaizenInstinct avatar Aug 02 '16 22:08 RaizenInstinct

Looks like an error on your config file.. Check it with jsonlint

hackenho avatar Aug 02 '16 22:08 hackenho

the screenshot is from jsonlint. It's saying the JSON file is valid...

RaizenInstinct avatar Aug 02 '16 22:08 RaizenInstinct