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

Program stops after a while

Open xterraforcex opened this issue 10 years ago • 2 comments

Traceback (most recent call last): File "pokecli.py", line 455, in main() File "pokecli.py", line 68, in main bot.tick() File "/home/xterraforcex/PokemonGo-Bot/pokemongo_bot/init.py", line 84, in tick if worker.work() == WorkerResult.RUNNING: File "/home/xterraforcex/PokemonGo-Bot/pokemongo_bot/cell_workers/incubate_eggs_worker.py", line 29, in work self._hatch_eggs() File "/home/xterraforcex/PokemonGo-Bot/pokemongo_bot/cell_workers/incubate_eggs_worker.py", line 134, in _hatch_eggs for pokemon in pokemon_data: UnboundLocalError: local variable 'pokemon_data' referenced before assignment

what do i need to do to let it keep going

xterraforcex avatar Jul 30 '16 19:07 xterraforcex

I believe this was fixed recently in commit 9b2450a7d81b33e0b46cf355c3d4ac9c82e92cfa

mrthrowaway avatar Jul 30 '16 19:07 mrthrowaway

loop the command in run.sh or copy the line that starts with eval a few times

sgitkene avatar Jul 30 '16 19:07 sgitkene