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

Error: argument of type 'bool' is not iterable

Open ethervoid opened this issue 10 years ago • 4 comments

[#] A Wild Pidgey appeared! [CP113]
2016-07-22 08:03:21,086 [   rpc_api] [WARNING] Unexpected HTTP server response - needs 200 got 502
Traceback (most recent call last):
  File "pokecli.py", line 120, in <module>
    main()
  File "pokecli.py", line 117, in main
    bot.take_step()
  File "/home/pi/PokemonGo-Bot/bot.py", line 29, in take_step
    self.stepper.take_step()
  File "/home/pi/PokemonGo-Bot/stepper.py", line 63, in take_step
    self.bot.work_on_cell(cell,position)
  File "/home/pi/PokemonGo-Bot/bot.py", line 36, in work_on_cell
    worker.work()
  File "/home/pi/PokemonGo-Bot/cell_workers/pokemon_catch_worker.py", line 36, in work
    id_list1 = self.count_pokemon_inventory()
  File "/home/pi/PokemonGo-Bot/cell_workers/pokemon_catch_worker.py", line 119, in count_pokemon_inventory
    return self.counting_pokemon(response_dict, id_list)
  File "/home/pi/PokemonGo-Bot/cell_workers/pokemon_catch_worker.py", line 122, in counting_pokemon
    if 'responses' in response_dict:
TypeError: argument of type 'bool' is not iterable

ethervoid avatar Jul 22 '16 09:07 ethervoid

Same for me

harsh1412 avatar Jul 22 '16 09:07 harsh1412

2016-07-22``08:03:21,086 [ rpc_api] [WARNING] Unexpected HTTP server response - needs 200 got 502

Servers were unstable (and probably dying) at that moment. The HTTP request returns a 502 (Bad Gateway). This means the servers are somewhat responding but you're effectively missing data, which results in a false (bool) argument.

Mordana avatar Jul 22 '16 10:07 Mordana

ohh

harsh1412 avatar Jul 22 '16 10:07 harsh1412

Server issue. Closing...

jtdroste avatar Jul 22 '16 16:07 jtdroste