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

Crash during farm

Open gpires opened this issue 10 years ago • 5 comments

Actual Behavior

[x] Using Pokeball... [x] Captured Golbat! [CP 596] [#] Finished walking Arrived at Pokestop Traceback (most recent call last): File "C:\Users\User\Desktop\PokemonGo-Bot-dev\pokecli.py", line 107, in main() File "C:\Users\User\Desktop\PokemonGo-Bot-dev\pokecli.py", line 104, in main bot.take_step() File "C:\Users\User\Desktop\PokemonGo-Bot-dev\pokemongo_bot__init__.py", line 31, in take_step self.stepper.take_step() File "C:\Users\User\Desktop\PokemonGo-Bot-dev\pokemongo_bot\stepper.py", line 58, in take_step self.work_at_position(position[0], position[1], position[2], True) File "C:\Users\User\Desktop\PokemonGo-Bot-dev\pokemongo_bot\stepper.py", line 100, in work_at_position self.bot.work_on_cell(cell, position, pokemon_only) File "C:\Users\User\Desktop\PokemonGo-Bot-dev\pokemongo_bot__init.py", line 52, in work_on_cell hack_chain = worker.work() File "C:\Users\User\Desktop\PokemonGo-Bot-dev\pokemongo_bot\cell_workers\seen_fort_worker.py", line 45, in work fort_details = response_dict['responses']['FORT_DETAILS'] KeyError: 'FORT_DETAILS'

Steps to Reproduce

Farm normally...

gpires avatar Jul 23 '16 03:07 gpires

which branch?

solderzzc avatar Jul 23 '16 03:07 solderzzc

Probably due encoding?

Other Information

OS: Win10 Git Commit: cb3d799b0c143ee0ad28aee9d50be7d4e13587c1

gpires avatar Jul 23 '16 11:07 gpires

This is the same issue as reported https://github.com/PokemonGoF/PokemonGo-Bot/issues/348 and is due to response_dict['responses'] returning

{ "status_code": 102, "responses": {} }

cmyk-B avatar Jul 24 '16 00:07 cmyk-B

Please clarify if issue still persists for you with latest dev

fredrik-hellmangroup avatar Jul 24 '16 22:07 fredrik-hellmangroup

Its Fixed. Thanks

gpires avatar Jul 24 '16 23:07 gpires