Not Working
Hey i couldn't find anything on my problem so hopefully someone can help :)
When i try to run the bot this is what comes up
Traceback (most recent call last):
File "pokecli.py", line 220, in
Any help??
Looks like your config file may have a syntax error. Try this: https://github.com/PokemonGoF/PokemonGo-Bot/wiki/No-JSON-object-could-be-decoded-or-decoder.py-error
Check your config.json on http://jsonlint.com/ for errors.
When i check my config.json all it does is separate the _____ part of my username from the @gmail.com in the format of [email protected] ---> ____ @gmail.com
so i changed that and it says the same thing
For the sake of argument, post your config please.
okay!
{ "auth_service": "google", "username": “[email protected]", "password": “_”, "location": “San Francisco, California“, "gmapkey": "", "max_steps": 5, "mode": "all", "walk": 4.16, "debug": false, "test": false, "initial_transfer": 0, "location_cache": true, "distance_unit": "km", "item_filter": "101,102,103,104", "evolve_all": "NONE" }
Your config file seems outdated. Please update the bot and then rewrite your config file to match the current config.json.example
to update the bot do i just repeat the process and change the master to dev?
sorry I'm probably asking the stupidest questions but I'm really clueless as you can see
To be honest, I haven't run the Master branch at all, so I have no idea if it's working or not. Perhaps someone else can help you fix your installation.
If you want to use the Dev branch:
- Save your config.json somewhere (like your desktop) so you can easily get your username, pass, API when you reinstall.
- Delete the whole PokemonGo-Bot folder.
- Follow Installation instructions, but wherever you see master, use dev. https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Installation
okay yes i just did, unfortunately i didn't copy the config.json thing and anyways this one from the dev branch has a lot of other things that the one i posted earlier didn't. Just to make sure are all your config.json etc things in a folder called configs. And did you take away the example ending on all of them?
Yes, your config file should be in the configs folder.
You only need one config.json. The large number of example files shows variations on what is possible.
To start I would copy config.json.example and rename the copy as config.json. Enter your user info and the bot should work. Then you can read through the Wiki and the other example files to learn how to use the other features.
okay cool, and once again i ran the bot and the problem is still the decoding thing. The website keeps telling me its my username thats the problem, my username i put in is [email protected] and this is the error they are telling me to fix
Error: Parse error on line 3: ...ogle", "username": “arsxxxxyaxxxxa3 @gm ----------------------^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'
Did you forget to close the quotation marks after your username? Correct syntax for the start of file is:
{
"auth_service": "google",
"username": "[email protected]",
"password": "asdoibjcnjxvcoiuyw",
"location": "Lat, Long",
"gmapkey": "asdl;fjoixcubioej",
"tasks": [
{ "type": "HandleSoftBan"
},
You need to have all the parentheses, quotation marks, commas, and spaces as above. Do not put a space in [email protected].
Yep thats how I've had it the entire time :( I'm so confused
Keeps saying the same thing, File "pokecli.py", line 446, in
could you send me your file without your information and maybe ill just fill that in? hopefully that might work :(
It's most likely a problem with the text editor you are using. I don't know what OS you are on but try saving using Notepad++, TextWrangler, or edit the file via the command line.
BRO I FINALLY FIXED IT I THINK!!! I just rewrote the entire first half of the config file and it worked!