error with configuration file
Curtiss-MacBook-Pro:PokemonGo-Bot curtismcintyre$ docker run --name=pokego-bot1 --rm -it -v $(pwd)/configs/config-account1.json:/usr/src/app/configs/config.json pokemongo-bot
2016-08-09 15:57:26,932 [ cli] [INFO] PokemonGO Bot v1.0 2016-08-09 15:57:26,938 [ cli] [INFO] No config argument specified, checking for /configs/config.json configs/config.json:3:16: Error: Can not decode value starting with character u'\u201c' | At line 3, column 16, offset 50 configs/config.json:3:38: Info: Recovering parsing after character u'"' | At line 3, column 38, offset 72 configs/config.json:3:40: Error: Line terminator characters must be escaped inside string literals: 'U+000D' | At line 3, column 40, offset 74 | String started at line 3, column 38, offset 72 configs/config.json:3:38: Error: Values must be separated by a comma | At line 3, column 38, offset 72 | Object started at line 1, column 0, offset 0 (AT-START) configs/config.json:3:38: Error: Missing value for object property, expected ":" | At line 3, column 38, offset 72 | Object started at line 1, column 0, offset 0 (AT-START) configs/config.json:4:6: Error: Unknown identifier: u'assword' | At line 4, column 6, offset 82 configs/config.json:4:33: Error: Line terminator characters must be escaped inside string literals: 'U+000D' | At line 4, column 33, offset 109 | String started at line 4, column 13, offset 89 configs/config.json:4:13: Error: Values must be separated by a comma | At line 4, column 13, offset 89 | Object started at line 1, column 0, offset 0 (AT-START) configs/config.json:4:13: Error: Missing value for object property, expected ":" | At line 4, column 13, offset 89 | Object started at line 1, column 0, offset 0 (AT-START) configs/config.json:5:6: Error: Unknown identifier: u'ocation' | At line 5, column 6, offset 117 configs/config.json:5:13: Error: Values must be separated by a comma | At line 5, column 13, offset 124 | Object started at line 1, column 0, offset 0 (AT-START) configs/config.json:5:13: Error: Missing value for object property, expected ":" | At line 5, column 13, offset 124 | Object started at line 1, column 0, offset 0 (AT-START) configs/config.json:5:29: Warning: JSON only permits string literals as object properties (keys) | At line 5, column 29, offset 140 | Object started at line 1, column 0, offset 0 (AT-START) configs/config.json:5:29: Error: Missing value for object property, expected ":" | At line 5, column 29, offset 140 | Object started at line 1, column 0, offset 0 (AT-START) configs/config.json:5:42: Error: Can not decode value starting with character u',' | At line 5, column 42, offset 153 configs/config.json:6:4: Info: Recovering parsing after character u'\r' | At line 6, column 4, offset 160 configs/config.json:6:4: Error: Values must be separated by a comma | At line 6, column 4, offset 160 | Object started at line 1, column 0, offset 0 (AT-START) configs/config.json:19:8: Warning: Object contains duplicate key: u'type' | At line 19, column 8, offset 449 | Object started at line 13, column 8, offset 340 configs/config.json:20:8: Warning: Object contains duplicate key: u'config' | At line 20, column 8, offset 482 | Object started at line 13, column 8, offset 340 configs/config.json: has errors 2016-08-09 15:57:27,000 [ cli] [CRITICAL] Error with configuration file
{ "auth_service": "google", "username": “", "password": “”, "location": "34.0087376, -118.5004127", "gmapkey": "AIzaSyCfmVAqsMLwW8NIe8yx_jCZx5LnuC7kjnM", "tasks": [ { "type": "HandleSoftBan" }, { "type": "CollectLevelUpReward" },{ "type": "NicknamePokemon", "config": { "nickname_template": "{iv_pct}_{iv_ads}" },
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"item_filter": {
"Potion": { "keep" : 20 },
"Super Potion": { "keep" : 50 },
"Hyper Potion": { "keep" : 100 },
"Revive": { "keep" : 100 },
"Razz Berry": { "keep" : 100 }
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort"
},
{
"type": "MoveToFort",
"config": {
"lure_attraction": true,
"lure_max_distance": 2000
}
},
{
"type": "FollowSpiral",
"config": {
"diameter": 4,
"step_size": 70
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50
},
"websocket_server": false,
"walk": 10,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"evolve_captured": "NONE",
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"release": {
"any": {"keep_best_cp": 2},
"Eevee": { "keep_best_cp": 5 }
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
"any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},
"// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
"Mewtwo": {},
"Dragonite": {},
"Snorlax": {},
"// Mew evolves to Mewtwo": {},
"Mew": {},
"Arcanine": {},
"Vaporeon": {},
"Gyarados": {},
"Exeggutor": {},
"Muk": {},
"Weezing": {},
"Flareon": {}
}
}
@curtybird95 not sure if it will fix everything, but the double quotes at the username and password are different from the rest
"username": “",
"password": “”,
Should be
"username": "",
"password": "",
that worked apparently :)