PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

PokemonHunter Task Crashing (list index out of range)

Open heinleinbottle opened this issue 8 years ago • 2 comments

Expected Behavior

PokemonHunter task should find designated Pokemon and attempt to catch them.

Actual Behavior

Task runs, however it will randomly crash when scanning for Pokemon / heading towards Pokemon / on stale session relogins.

Your FULL config.json (remove your username, password, gmapkey and any other private info)

https://pastebin.com/RA09vNb1

Output when issue occurred

https://pastebin.com/u6LF8NL7

Steps to Reproduce

To reproduce, I've basically restarted the bot a few times to trigger the PokemonHunter task. Whenever the PokemonHunter task runs, there seems to be a certain chance to crash the bot.

Other Information

OS: macOS Sierra v 10.12.5 Branch: master Git Commit: c07fd94f85dc53780168b9df70a1db085af68f38 Python Version: Python 2.7.10

heinleinbottle avatar Jul 17 '17 18:07 heinleinbottle

Thank you for reporting! I noticed this happens from time to time. I think it's because I added looking for wild Pokemon besides just the sightings... Will look into this soon.

davidakachaos avatar Jul 18 '17 07:07 davidakachaos

Ah got it. Thanks for the work you've put in!

heinleinbottle avatar Jul 18 '17 17:07 heinleinbottle