-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Need help running the program #3114
Comments
Try python pokecli.py |
|
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 |
ValueError: No JSON object could be decoded |
As mentioned by hklcf, you're specifying the config incorrectly. "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. |
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
main()
File "./pokecli.py", line 133, in main
raise e
ValueError: No JSON object could be decoded
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
The text was updated successfully, but these errors were encountered: