You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recycle item should work and not break the whole program
Actual Behavior
Recycle item rpc call not working properly
Steps to Reproduce
Simply starting the bot and spin a pokestop
Other Information
raceback (most recent call last):
File "pokecli.py", line 503, in
main()
File "pokecli.py", line 89, in main
bot.tick()
File "pokemongo_bot/init.py", line 443, in tick
if worker.work() == WorkerResult.RUNNING:
File "pokemongo_bot/cell_workers/recycle_items.py", line 37, in work
response_dict_recycle = self.send_recycle_item_request(item_id=item_id, count=items_recycle_count)
File "pokemongo_bot/cell_workers/recycle_items.py", line 64, in send_recycle_item_request
count=count
File "src/pgoapi/pgoapi/pgoapi.py", line 121, in function
return request.call()
File "pokemongo_bot/api_wrapper.py", line 106, in call
result = self._call()
File "pokemongo_bot/api_wrapper.py", line 63, in _call
return PGoApiRequest.call(self)
File "src/pgoapi/pgoapi/pgoapi.py", line 219, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "src/pgoapi/pgoapi/rpc_api.py", line 128, in request
response_dict = self._parse_main_response(response, subrequests)
File "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 "src/pgoapi/pgoapi/rpc_api.py", line 376, in _parse_sub_responses
request_entry = subrequests_list[i]
IndexError: list index out of range
Expected Behavior
Recycle item should work and not break the whole program
Actual Behavior
Recycle item rpc call not working properly
Steps to Reproduce
Simply starting the bot and spin a pokestop
Other Information
raceback (most recent call last):
File "pokecli.py", line 503, in
main()
File "pokecli.py", line 89, in main
bot.tick()
File "pokemongo_bot/init.py", line 443, in tick
if worker.work() == WorkerResult.RUNNING:
File "pokemongo_bot/cell_workers/recycle_items.py", line 37, in work
response_dict_recycle = self.send_recycle_item_request(item_id=item_id, count=items_recycle_count)
File "pokemongo_bot/cell_workers/recycle_items.py", line 64, in send_recycle_item_request
count=count
File "src/pgoapi/pgoapi/pgoapi.py", line 121, in function
return request.call()
File "pokemongo_bot/api_wrapper.py", line 106, in call
result = self._call()
File "pokemongo_bot/api_wrapper.py", line 63, in _call
return PGoApiRequest.call(self)
File "src/pgoapi/pgoapi/pgoapi.py", line 219, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "src/pgoapi/pgoapi/rpc_api.py", line 128, in request
response_dict = self._parse_main_response(response, subrequests)
File "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 "src/pgoapi/pgoapi/rpc_api.py", line 376, in _parse_sub_responses
request_entry = subrequests_list[i]
IndexError: list index out of range
Python 2.7.11 on Ubuntu
d0f60a2
The text was updated successfully, but these errors were encountered: