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

[MASTER] Error spinning pokestop

Open baridy opened this issue 10 years ago • 14 comments

Actual Behavior

[2016-07-26 12:35:42] [#] PokeStop on cooldown. Time left: 5.15 minutes [2016-07-26 12:35:44] [#] Found fort bf7f4467e41b4039b13883553327bbbc.16 at distance 0.08km [2016-07-26 12:35:44] [#] Need to move closer to Pokestop [2016-07-26 12:35:44] [#] Walking from (-6.123799, 106.834561) to (-6.124769, 106.834192) for approx. 28.00 seconds [2016-07-26 12:36:36] [#] Finished walking [2016-07-26 12:36:36] [#] Arrived at Pokestop [2016-07-26 12:36:39] [#] Now at Pokestop: Mini Turtle Statue - Spinning... [2016-07-26 12:36:41] [+] Loot: [2016-07-26 12:36:41] [+] 50 xp [2016-07-26 12:36:41] [+] 1x Pokeball (Total: 18) [2016-07-26 12:36:42] [+] 2x Razz Berry (Total: 147) [2016-07-26 12:36:42] [#] PokeStop on cooldown. Time left: 5.16 minutes [2016-07-26 12:36:44] [#] Found fort ebd6b7a5be514c8aafaaacb52bcc1922.16 at distance 0.13km [2016-07-26 12:36:44] [#] Need to move closer to Pokestop [2016-07-26 12:36:44] [#] Walking from (-6.124769, 106.834192) to (-6.123268, 106.834349) for approx. 41.00 seconds [2016-07-26 12:37:57] [#] Finished walking [2016-07-26 12:37:58] [#] Arrived at Pokestop [2016-07-26 12:38:00] [#] Now at Pokestop: Ocean Ecopark - Ancol - Spinning... Traceback (most recent call last): File "pokecli.py", line 220, in main() File "pokecli.py", line 211, in main bot.take_step() File "C:\pogomap\PokemonGo-Bot\pokemongo_bot__init__.py", line 36, in take_step self.stepper.take_step() File "C:\pogomap\PokemonGo-Bot\pokemongo_bot\stepper.py", line 62, in take_step self.work_at_position(position[0], position[1], position[2], True) File "C:\pogomap\PokemonGo-Bot\pokemongo_bot\stepper.py", line 139, in work_at_position self.bot.work_on_cell(cell, position, pokemon_only) File "C:\pogomap\PokemonGo-Bot\pokemongo_bot__init.py", line 96, in work_on_cell hack_chain = worker.work() File "C:\pogomap\PokemonGo-Bot\pokemongo_bot\cell_workers\seen_fort_worker.py", line 51, in work if spin_details['result'] == 1: KeyError: 'result'

Steps to Reproduce

here is config :

{ "auth_service": "google", "username": "", "password": "", "location": "", "gmapkey": "", "max_steps": 2, "mode": "all", "walk": 4.16, "debug": false, "test": false, "initial_transfer": 1, "location_cache": true, "distance_unit": "km", "item_filter": "101,102,103,104,201", "evolve_all": "NONE" }

run bot about 10 minutes and error occured

Other Information

OS: WIN 10 64bit Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)

baridy avatar Jul 26 '16 05:07 baridy

is this always at the same place?

maestroi avatar Jul 26 '16 06:07 maestroi

I'm having the same issues, [2016-07-26 15:52:40] [#] Arrived at Pokestop [2016-07-26 15:52:44] [#] Now at Pokestop: Unknown - Spinning... Traceback (most recent call last): File "pokecli.py", line 220, in main() File "pokecli.py", line 211, in main bot.take_step() File "F:\Games\pogo\PokemonGo-Bot2\pokemongo_bot__init__.py", line 37, in take_step self.stepper.take_step() File "F:\Games\pogo\PokemonGo-Bot2\pokemongo_bot\stepper.py", line 62, in take_step self.work_at_position(position[0], position[1], position[2], True) File "F:\Games\pogo\PokemonGo-Bot2\pokemongo_bot\stepper.py", line 139, in work_at_position self.bot.work_on_cell(cell, position, pokemon_only) File "F:\Games\pogo\PokemonGo-Bot2\pokemongo_bot__init.py", line 127, in work_on_cell hack_chain = worker.work() File "F:\Games\pogo\PokemonGo-Bot2\pokemongo_bot\cell_workers\seen_fort_worker.py", line 51, in work if spin_details['result'] == 1: KeyError: 'result'

after I re run, it's fine

edited: I re-run, it's fine on first pokestop, next pokestop has same error

Other Information I've tried it on same location on 34.008096, -118.49908 three times and it keeps happen

satriaenur avatar Jul 26 '16 09:07 satriaenur

Also happens on Dev Branch: [10:58:14] Arrived at Pokestop [10:58:17] Now at Pokestop: Unknown - Spinning... Traceback (most recent call last): File "pokecli.py", line 236, in main() File "pokecli.py", line 227, in main bot.take_step() File "/home/lelmac/asd/PokemonGo-Bot/pokemongo_bot/init.py", line 40, in take_step self.work_on_cell(cell, location) File "/home/lelmac/asd/PokemonGo-Bot/pokemongo_bot/init.py", line 211, in work_on_cell hack_chain = worker.work() File "/home/lelmac/asd/PokemonGo-Bot/pokemongo_bot/cell_workers/seen_fort_worker.py", line 50, in work if spin_details['result'] == 1: KeyError: 'result'

lelmac avatar Jul 26 '16 09:07 lelmac

Some problem here,

[2016-07-26 16:29:19] [#] Now at Pokestop: Unknown - Spinning... Traceback (most recent call last): File "pokecli.py", line 220, in <module> main() File "pokecli.py", line 211, in main bot.take_step() File "/opt/PokemonGo-Bot/pokemongo_bot/__init__.py", line 36, in take_step self.stepper.take_step() File "/opt/PokemonGo-Bot/pokemongo_bot/stepper.py", line 62, in take_step self._work_at_position(position[0], position[1], position[2], True) File "/opt/PokemonGo-Bot/pokemongo_bot/stepper.py", line 139, in _work_at_position self.bot.work_on_cell(cell, position, pokemon_only) File "/opt/PokemonGo-Bot/pokemongo_bot/__init__.py", line 96, in work_on_cell hack_chain = worker.work() File "/opt/PokemonGo-Bot/pokemongo_bot/cell_workers/seen_fort_worker.py", line 51, in work if spin_details['result'] == 1: KeyError: 'result'

pararang avatar Jul 26 '16 09:07 pararang

Same issue here too

leovarmak avatar Jul 26 '16 09:07 leovarmak

Try reinstalling pgoapi by removing pgoapi and running pip install -r requirements.txt

tstumm avatar Jul 26 '16 09:07 tstumm

trying tstumm solution, still happening on same spot

satriaenur avatar Jul 26 '16 10:07 satriaenur

Same here, i have the same issue always on the unknow spinning

KarimEA avatar Jul 26 '16 10:07 KarimEA

Fixed :100: :+1: @x1024

screenshot from 2016-07-26 21 00 35

pararang avatar Jul 26 '16 14:07 pararang

@pararang I am still having the issue. screen shot 2016-07-26 at 8 22 35 pm

Because of this I am unable to spin any pokestop

leovarmak avatar Jul 26 '16 15:07 leovarmak

Confirmed on 3aca6d798f8a3e173dce0beb7b13c9505cc5b251

Traceback (most recent call last): File "pokecli.py", line 220, in main() File "pokecli.py", line 211, in main bot.take_step() File "/home/krypt/builds/PokemonGo-Bot/pokemongo_bot/init.py", line 36, in take_step self.stepper.take_step() File "/home/krypt/builds/PokemonGo-Bot/pokemongo_bot/stepper.py", line 62, in take_step self._work_at_position(position[0], position[1], position[2], True) File "/home/krypt/builds/PokemonGo-Bot/pokemongo_bot/stepper.py", line 139, in _work_at_position self.bot.work_on_cell(cell, position, pokemon_only) File "/home/krypt/builds/PokemonGo-Bot/pokemongo_bot/init.py", line 96, in work_on_cell hack_chain = worker.work() File "/home/krypt/builds/PokemonGo-Bot/pokemongo_bot/cell_workers/seen_fort_worker.py", line 51, in work if spin_details['result'] == 1: KeyError: 'result'

krypttr avatar Jul 26 '16 18:07 krypttr

Fixed by a PR a couple of hours ago

tstumm avatar Jul 26 '16 18:07 tstumm

At least on dev

tstumm avatar Jul 26 '16 18:07 tstumm

@tstumm What about on Master then ?

leovarmak avatar Jul 26 '16 19:07 leovarmak