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

ValueError: No JSON object could be decoded

Open nanogirl21 opened this issue 10 years ago • 5 comments

I am receiving the below error. Can some please help me correct this problem. I have been trying for hours. I am using OS X terminal and the Master version of this Bot.

ValueError: No JSON object could be decoded

I have checked that my JSON file is valid without any errors.

config json

The ISON is in the correct folder.

screenshot_90

I am using this code to try to launch the Bot

cd /Users/NanoGirl21/Downloads/PokemonGo-Bot-master 2 virtualenv . source bin/activate pip install -r requirements.txt python pokecli.py

nanogirl21 avatar Jul 30 '16 16:07 nanogirl21

You should use dev branch and read the wiki configuration page. There are a lot of changes now

arnaudgs avatar Jul 30 '16 16:07 arnaudgs

I did try the dev version earlier today and had the same error. In chat I was told to use the Master version. Can you please post what the dev config.ison file should look like. Thank you.

nanogirl21 avatar Jul 30 '16 16:07 nanogirl21

the config.json in the dev branch can be found inside the 'configs' directory

mrthrowaway avatar Jul 30 '16 18:07 mrthrowaway

Is the file in the right place on the PokemonGo-Bot (Exact capitalization and spelling)? look it up on spotlight. there should be a folder named Configs.

PraeceptorXS avatar Jul 30 '16 19:07 PraeceptorXS

Thank you all. I figured it out. I had to add a configs folder and use the below code to run. Everything works perfectly now.

python pokecli.py -cf ./configs/config.json

nanogirl21 avatar Jul 30 '16 19:07 nanogirl21