Application Crashing
Stop! Before you create this issue (you can delete this section when opening the issue):
- Have you validated that your config.json is valid JSON? Use http://jsonlint.com/ to check.
- Have you searched to see if there are other issues for the same issue? If so, comment on that issue instead.
- Are you running
master? We work on thedevbranch and then add that functionality tomaster. Your issue may be fixed ondevand there is no need for this issue, just wait and it will eventually be merged tomaster.
Expected Behavior
Actual Behavior
I need some help. My application crashes when I run it. I don't know if I didn't configure it correctly but this is what my configuration is. Where are the error reportings tthat i could paste here that could probably help? I run the pokicli and it just closes the dialog box.
Your config.json (remove your credentials and any other private info)
{
"auth_service": "google",
"username": "email",
"password": "blahblah",
"location": "85323",
"gmapkey": "33.8839779, -117.8937752",
"libencrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "CollectLevelUpReward"
},
{
"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": {
"min_empty_space": 15,
"item_filter": {
"Pokeball": { "keep" : 100 },
"Potion": { "keep" : 10 },
"Super Potion": { "keep" : 20 },
"Hyper Potion": { "keep" : 30 },
"Revive": { "keep" : 30 },
"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": 4.16,
"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": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
"// Example of always releasing Rattata:": {},
"// Rattata": {"always_release": true},
"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
"// Pidgey": {"keep_best_cp": 3},
"// Example of keeping 2 stronger (based on IV) Zubat:": {},
"// Zubat": {"keep_best_iv": 2},
"// Also, it is working with any": {},
"// any": {"keep_best_iv": 3},
"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
"// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
},
"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": {}
}
}
Steps to Reproduce
Other Information
OS: Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) Python Version: (run 'python -V' and paste it here)
You need to run pokecli.py from an open terminal. See https://github.com/PokemonGoF/PokemonGo-Bot/wiki/FAQ#how-do-i-start-the-application
run like this : python pokecli.py pathfolder/urconfigfile
Seems like your "location" and "gmapkey" are wrong.
Your "gmapkey" ("33.8839779, -117.8937752") is the location... And you can grab a valid Google Maps API key from Google.
Shamanime outlined the issues. If you need to know how to get an API key, just google "getting a Google maps API key", there are many guides on it
It still crashes. I don't understand what the issue is.
@tophresh please join the #help channel in the slack server for assistance with running the bot, rather than creating an issue which is usually reserved for bugs in the bot