Weird error when trying to run bot.
I have a weird error when i try to lauch the bot.
Traceback (most recent call last):
File "pokecli.py", line 490, in
I dont now what the problem is i didn't change anything.
You're missing a comma somewhere in your config.
Bot is not working right now, FYI.
So bot is broken?
https://github.com/PokemonGoF/PokemonGo-Bot/issues/2540
every bot is broken right now..
For problems with JSON check Wiki, so that you will be ready when bot is fixed
I found out that it was giving me a error in the decoder.py: Error: Parse error on line 1: """Implementation of J --^ Expecting 'EOF', '}', ':', ',', ']', got 'undefined'****
On line one but i cant edit the file and i didn't change it.
Post your config @Roydeking52. Don't forget to remove your account info first though!
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first":"true"
}
},
{
"type": "TransferPokemon"
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "true",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": true
}
},
{
"type": "RecycleItems",
"config": {
"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": "SpinFort"
},
{
}
}
],
"walk": 8,
"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": 300, "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": {}
}
}
There are some hanging {}s at the end of your tasks list.
"type": "SpinFort"
}, { } } ],
I removed them and still same problem
I can assure you it is a formatting problem. I think it would be easiest to start a new config. The config also looks like you intend for it to stand in one place.
Also, swap "evolve_all": "true", for "evolve_all": "all", to collect all pokemon. Values are none, all or individual pokemon types separated by comma.
this was a new config it didn't work. So i posted a issue and someone give me the task piece for the config.
So i don't now where to get the config file that works.
First, what branch are you using? Master, dev? git branch That can list local branches. The one with the asterisks (*) is the active branch. Master and dev configs are entirely different and stored in different locations.
What was your config before added more stuff?
I downloaded the latest dev yesterday and then i got the task list. And 30 min later when i started the bot i got the problem with the weird error.
Dev version uses the following config template: https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/configs/config.json.example
"// Mew evolves to Mewtwo": {}, ??!!
Okay i now get a new error.
2016-08-04 22:22:44,869 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-04 22:22:44,871 [ cli] [INFO] Configuration initialized
2016-08-04 22:22:44,871 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more logrmation:
2016-08-04 22:22:44,871 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-08-04 22:22:44,874 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
Traceback (most recent call last):
File "pokecli.py", line 490, in
Read: https://github.com/PokemonGoF/PokemonGo-Bot/issues/2540