Need help running the program
Expected Behavior
I followed the instructions and type "python ./pokecli.py -cf=./configs/config.json" to run the program.
Actual Behavior
There are errors:
PokemonGO Bot v1.0
Traceback (most recent call last):
File "./pokecli.py", line 502, in
Steps to Reproduce
Other Information
OS: Mac Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) Python Version: 2.7.12
Try python pokecli.py
python pokecli.py -cf configs/config.json
Please check if the config file config.json actually exists. If not edit config.json.example and save it as config.json in the "configs" directory.
I edited the config.json.example with my info and saved it as config.json, but the issue still there. I've also tried the dev version. Here are the errors:
PokemonGO Bot v1.0
Traceback (most recent call last):
File "pokecli.py", line 503, in
ValueError: No JSON object could be decoded
As mentioned by hklcf, you're specifying the config incorrectly.
"python ./pokecli.py -cf=./configs/config.json" should be "python ./pokecli.py -cf configs/config.json"
Im getting the same error even when I use python ./pokecli.py -cf configs/config.json. Config.json exists. Could My edits in Config.json be causing a problem, not allowing it to decode?
Usually it's a screwed up "slanted" quotation mark when I get this. TextEdit on OSX creates them by default, so scour through your file and see if you can find any.
Thanks I fixed it. There was a syntax error.