Error starting after new dev update
Expected Behavior
Start bot normally
Actual Behavior
Traceback (most recent call last): File "pokecli.py", line 530, in <module> main() File "pokecli.py", line 82, in main bot.start() File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/__init__.py", line 86, in start self._setup_api() File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/__init__.py", line 698, in _setup_api self.update_inventory() File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/__init__.py", line 796, in update_inventory init_inventory(self) File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/inventory.py", line 799, in init_inventory _inventory = Inventory(bot) File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/inventory.py", line 741, in __init__ self.refresh() File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/inventory.py", line 749, in refresh i.refresh(inventory) File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/inventory.py", line 62, in refresh self._data = self.retrieve_data(inventory) File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/inventory.py", line 58, in retrieve_data ret[key] = self.parse(item) File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/inventory.py", line 292, in parse return Pokemon(item) File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/inventory.py", line 505, in __init__ self.moveset = self._get_moveset() File "/Users/XXX/PokemonGo-Bot/pokemongo_bot/inventory.py", line 611, in _get_moveset move1, move2, self.pokemon_id, self.name)) Exception: Unexpected moveset [Confusion, Signal Beam] for #48 Venonat
Your config.json (remove your credentials and any other private info)
{ "auth_service": "google", "username": "REMOVED", "password": "REMOVED", "location": "XX.259879, -YY.745093", "gmapkey": "REMOVED", "tasks": [ { "type": "CollectLevelUpReward" }, { "type": "IncubateEggs", "config": { "longer_eggs_first": true } }, { "type": "RecycleItems", "config": { "run_interval": 60, "item_filter": { "Pokeball": { "keep": 40 }, "Greatball": { "keep": 40 }, "Ultraball": { "keep": 60 }, "Masterball": { "keep": 60 }, "Potion": { "keep": 0 }, "Super Potion": { "keep": 10 }, "Hyper Potion": { "keep": 15 }, "Max Potion": { "keep": 80 }, "Revive": { "keep": 10 }, "Max Revive": { "keep": 30 }, "Razz Berry": { "keep": 30 } } } }, { "type": "EvolvePokemon", "config": { "evolve_all": "Pidgey,Rattata,Zubat,Weedle,Drowzee,Spearow,Venonat,Caterpie,Krabby,Paras,Jigglypuff,Sandshrew,Vulpix,Meowth,Psyduck,Mankey,Tentacool,Ponyta,Slowpoke,Magnemite,Doduo,Seel,Voltorb,Horsea,Goldeen,Staryu,Ekans", "first_evolve_by": "cp", "evolve_above_cp": 0, "evolve_above_iv": 0, "logic": "or", "evolve_speed": 1, "use_lucky_egg": false, "run_interval": 180 } }, { "type": "TransferPokemon", "config": { "run_interval": 180 } }, { "type": "MoveToFort", "config": { "lure_attraction": true, "lure_max_distance": 2000, "ignore_item_count": true } }, { "type": "SpinFort", "config": { "ignore_item_count": true } }, { "type": "CatchVisiblePokemon" }, { "type": "CatchLuredPokemon" } ], "map_object_cache_time": 5, "forts": { "avoid_circles": true, "max_circle_size": 500 }, "websocket_server": false, "walk": 50, "action_wait_min": 0, "action_wait_max": 1, "debug": false, "test": false, "health_record": false, "location_cache": false, "distance_unit": "m", "reconnecting_timeout": 15, "evolve_captured": "NONE", "catch_randomize_reticle_factor": 1.0, "catch_randomize_spin_factor": 1.0, "catch": { "any": { "always_catch": true } }, "release": { "any": { "keep_best_iv": 1 }, "Moltres": { "keep_best_iv": 3 }, "Eevee": { "keep_best_cp": 3 }, "Zapdos": { "keep_best_iv": 3 }, "Articuno": { "keep_best_iv": 3 }, "Mewtwo": { "keep_best_iv": 3 }, "Dragonite": { "keep_best_iv": 3 }, "Dratini": { "keep_best_iv": 3 }, "Dragonair": { "keep_best_iv": 3 }, "Snorlax": { "keep_best_iv": 3 } }, "vips": { "any": { "catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" }, "Lapras": {}, "Moltres": {}, "Zapdos": {}, "Articuno": {}, "Mewtwo": {}, "Dragonite": {}, "Snorlax": {}, "Mew": {}, "Arcanine": {}, "Vaporeon": {}, "Gyarados": {}, "Exeggutor": {}, "Muk": {}, "Weezing": {}, "Flareon": {} } }
Steps to Reproduce
git pull new dev update, start bot
Other Information
OS: Mac OS X El Capitan Git Commit: 00a5b2fa136a5e4b8228743a25bfb2228bda692f Python Version: (run 'python -V' and paste it here) Python 2.7.11
I am having this issue as well.
Could this be the culprit? Exception: Unexpected moveset [Confusion, Signal Beam] for #48 Venonat
I get this too on the dev build at startup
Build 00a5b2f Windows 10 Python 2.7
Same here
Traceback (most recent call last):
File "pokecli.py", line 530, in <module>
main()
File "pokecli.py", line 82, in main
bot.start()
File "/home/pi/bot-dev/pokemongo_bot/__init__.py", line 86, in start
self._setup_api()
File "/home/pi/bot-dev/pokemongo_bot/__init__.py", line 698, in _setup_api
self.update_inventory()
File "/home/pi/bot-dev/pokemongo_bot/__init__.py", line 796, in update_inventory
init_inventory(self)
File "/home/pi/bot-dev/pokemongo_bot/inventory.py", line 799, in init_inventory
_inventory = Inventory(bot)
File "/home/pi/bot-dev/pokemongo_bot/inventory.py", line 741, in __init__
self.refresh()
File "/home/pi/bot-dev/pokemongo_bot/inventory.py", line 749, in refresh
i.refresh(inventory)
File "/home/pi/bot-dev/pokemongo_bot/inventory.py", line 62, in refresh
self._data = self.retrieve_data(inventory)
File "/home/pi/bot-dev/pokemongo_bot/inventory.py", line 58, in retrieve_data
ret[key] = self.parse(item)
File "/home/pi/bot-dev/pokemongo_bot/inventory.py", line 292, in parse
return Pokemon(item)
File "/home/pi/bot-dev/pokemongo_bot/inventory.py", line 505, in __init__
self.moveset = self._get_moveset()
File "/home/pi/bot-dev/pokemongo_bot/inventory.py", line 611, in _get_moveset
move1, move2, self.pokemon_id, self.name))
Exception: Unexpected moveset [Bug Bite, Signal Beam] for #48 Venonat
+1 for this issue, got this error too but it works with other ptc account, maybe some account got banned? try with your other account
I am facing this error after bot update too
Might be related to #3336 #3455 ?
Definitely not banned, doesn't work on other accounts and I can use the official app just fine.
git reset --hard e60da103cc40c68be8b401f2bc4c63e696210047 and works again. It's related to https://github.com/PokemonGoF/PokemonGo-Bot/commit/00a5b2fa136a5e4b8228743a25bfb2228bda692f
Fixed list of charged attacks for Venonat #3550
Thanks, closing this!
@islanderman why is it like this?
(PokemonGo-Bot) c:\pokebot\PokemonGo-Bot-main>git reset --hard e60da103cc40c68be8b401f2bc4c63e696210047
HEAD is now at e60da10 Ensure recycling happens if bag is over capacity. (#3531)
(PokemonGo-Bot) c:\pokebot\PokemonGo-Bot-main>git reset --hard e60da103cc40c68be8b401f2bc4c63e696210047
HEAD is now at e60da10 Ensure recycling happens if bag is over capacity. (#3531)
Lets leave this open till its actually fixed so people see it.
It's working for me after a git pull, I agree probably best we leave this open to make sure it's working for everyone.
@islanderman oh nevermind, its ok now, thx
The change was reverted so git pull will fix the issue.
I did git pull already but still have error.
Traceback (most recent call last):
File "pokecli.py", line 530, in
same as @nisit15
"health_record": false , this work for me.