cant get latest dev to run ValueError: Expecting , delimiter: line 16 column 5 (char 368)
Expected Behavior
start bot upon C:\python27\python pokecli.py -cf config.json
Actual Behavior
giving error
C:\pythonbot dev neu\PokemonGo-Bot-dev>C:\python27\python pokecli.py -cf config.json
Traceback (most recent call last):
File "pokecli.py", line 219, in
Steps to Reproduce
maybe its about my config.json. it looks like this: { "auth_service": "ptc", "username": "_", "password": "_***", "location": "SOME LOCATION", "gmapkey": "AGMAPAPIKEY", "max_steps": 20, "mode": "all", "walk": 4.16, "debug": false, "test": false, "initial_transfer": 1, "location_cache": true, "distance_unit": "km", "item_filter": "101,102,103,104" "evolve_all", false, "evolve_captured", false }
Other Information
OS: win7 latest dev commit
Thanks a lot!!
changed the config to be closer to the default one.
Config:
{ "auth_service": "ptc", "username": "**********", "password": "**", "location": "Central Park, New York", "gmapkey": "AIzaSyDqphcbnlFBm0**********************", "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" }
Error is now:
C:\pythonbot dev neu\PokemonGo-Bot-dev>C:\python27\python pokecli.py -cf config.json
Traceback (most recent call last):
File "pokecli.py", line 219, in
"evolve_all", false, "evolve_captured", false
Not commas! Colon
Use https://jsonformatter.curiousconcept.com/ for json validation
yeah. I now removed evolve options completely in config. Jsonformatter site says: "Valid JSON (RFC 4627)".
Stilkl getting ValueError: No JSON object could be decoded.
config.release_config.update(json.load(data))
Something wrong with release_config.json
can you get this working by just adding the params to the CLI directly ?
thank you @Tekill there was a typo i release_config. its running now. couldn't get the evolve params to work, though..
for the record: there was a , missing at the end of the itemfilter
you're right.
but the real problem was in the release config.
it looked like this:
"Vileplume"
] } }
but has to look like this:
"Vileplume"]
}
}