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

run error

Open cmorbaab opened this issue 10 years ago • 4 comments

Expected Behavior

to run without errors

Actual Behavior

whenever I run the pokecli.py file I get this error: Traceback (most recent call last): File "pokecli.py", line 220, in <module> main() File "pokecli.py", line 197, in main config = init_config() File "pokecli.py", line 64, in init_config load.update(json.load(data)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load **kw) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

Steps to Reproduce

I followed the instructions and I installed all the requirements and set up a virtual environment. Is there a reason for this error?

cmorbaab avatar Jul 28 '16 17:07 cmorbaab

what's your commit?

DayBr3ak avatar Jul 28 '16 17:07 DayBr3ak

@DayBr3ak I installed the master version yesterday.

cmorbaab avatar Jul 28 '16 17:07 cmorbaab

Same error here

fvorez avatar Jul 28 '16 19:07 fvorez

seems config.json wasnt formated properly for me, use http://jsonlint.com/, paste the config, and it will format properly

fvorez avatar Jul 28 '16 19:07 fvorez