PokemonGo-Bot: List index error during searching map cells (Just Need New Pgoapi)
Error Traceback
Traceback (most recent call last): [103/1848]
File "pokecli.py", line 521, in <module>
main()
File "pokecli.py", line 81, in main
bot.start()
File "/users/s6kalra/sources/PokemonGo-Bot/pokemongo_bot/__init__.py", line 82, in start
self._setup_api()
File "/users/s6kalra/sources/PokemonGo-Bot/pokemongo_bot/__init__.py", line 690, in _setup_api
self.update_web_location()
File "/users/s6kalra/sources/PokemonGo-Bot/pokemongo_bot/__init__.py", line 492, in update_web_location
cells = self.find_close_cells(*location)
File "/users/s6kalra/sources/PokemonGo-Bot/pokemongo_bot/__init__.py", line 541, in find_close_cells
response_dict = self.get_map_objects(lat, lng, timestamp, cellid)
File "/users/s6kalra/sources/PokemonGo-Bot/pokemongo_bot/__init__.py", line 1082, in get_map_objects
cell_id=cellid
File "/users/s6kalra/sources/PokemonGo-Bot/bot/src/pgoapi/pgoapi/pgoapi.py", line 122, in function
return request.call()
File "/users/s6kalra/sources/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 106, in call
result = self._call()
File "/users/s6kalra/sources/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 63, in _call
return PGoApiRequest.call(self)
File "/users/s6kalra/sources/PokemonGo-Bot/bot/src/pgoapi/pgoapi/pgoapi.py", line 220, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "/users/s6kalra/sources/PokemonGo-Bot/bot/src/pgoapi/pgoapi/rpc_api.py", line 129, in request
response_dict = self._parse_main_response(response, subrequests)
File "/users/s6kalra/sources/PokemonGo-Bot/bot/src/pgoapi/pgoapi/rpc_api.py", line 359, in _parse_main_response
response_proto_dict = self._parse_sub_responses(response_proto, subrequests, response_proto_dict)
File "/users/s6kalra/sources/PokemonGo-Bot/bot/src/pgoapi/pgoapi/rpc_api.py", line 376, in _parse_sub_responses
request_entry = subrequests_list[i]
IndexError: list index out of range
Steps to Reproduce
Running with pokemongo map support, seems like some bad data in map cell causing this?
Must mention that I had to re-login on my phone application and then it started happening. May be some server side change occurred?
Other Information
OS: Arch Linux Git Commit: a2b9fe9be9642612420612795a15bc691189f8c9 Python Version: 2.7.9
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (5 by maintainers)
Can confirm @bigkraig 's version of pgoapi fixed it. For any one with immediate fix run:
confirm after upgrade pgoapi bot working now +1
You can do this until they fix pgoapi
fix in https://github.com/keyphact/pgoapi/pull/59
Api block wave 2 incoming 😦
+1 save problem
OS: Ubuntu 14.04 Git Commit: a2b9fe9 Python Version: 2.7.6