-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
list index out of range #3200
Comments
is not it fix? |
How about looking at the other issues,before making a useless repost? |
Having same issue as above after completing #3193 Originally Now |
Can you try setting |
'Can you try setting I have changed Sorry if this is the wrong way to reply I am new to this |
@liampuddles So did it fix the problem? |
@shivamkalra It`s fix from my side.... |
@shivamkalra this did not fix my issue. |
there is a new config option in config.json try to add this line
in your config.json just below "gmapkey", for me, it solved the problem. |
@mywarr i leave that config blank and just put the crypt .ddl file to the root dir and its also working fine... |
@mywarr So I just noticed it actually starts and stops after 14 seconds |
was working fine all day then all the sudden started to fail with list index out of range
Actual Behavior
Traceback (most recent call last):
File "pokecli.py", line 521, in
main()
File "pokecli.py", line 95, in main
bot.tick()
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/init.py", line 446, in tick
if worker.work() == WorkerResult.RUNNING:
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/cell_workers/recycle_items.py", line 22, in work
item_count_dict = self.bot.item_inventory_count('all')
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/init.py", line 820, in item_inventory_count
inventory_req = self.get_inventory()
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/init.py", line 781, in get_inventory
self.latest_inventory = self.api.get_inventory()
File "/home/jlim/newbot/XXXXXX/dev/src/pgoapi/pgoapi/pgoapi.py", line 122, in function
return request.call()
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/api_wrapper.py", line 106, in call
result = self._call()
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/api_wrapper.py", line 63, in _call
return PGoApiRequest.call(self)
File "/home/jlim/newbot/XXXXXX/dev/src/pgoapi/pgoapi/pgoapi.py", line 220, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "/home/jlim/newbot/XXXXXX/dev/src/pgoapi/pgoapi/rpc_api.py", line 129, in request
response_dict = self._parse_main_response(response, subrequests)
File "/home/jlim/newbot/XXXXXX/dev/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 "/home/jlim/newbot/XXXXXX/dev/src/pgoapi/pgoapi/rpc_api.py", line 376, in _parse_sub_responses
request_entry = subrequests_list[i]
IndexError: list index out of range
2016-08-08 23:02:48,605 [sentry.errors] [ERROR] Sentry responded with an error: 'module' object has no attribute 'HTTPSHandler' (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/home/jlim/newbot/XXXXXX/dev/local/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/home/jlim/newbot/XXXXXX/dev/local/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/home/jlim/newbot/XXXXXX/dev/local/lib/python2.7/site-packages/raven/utils/http.py", line 44, in urlopen
class ValidHTTPSHandler(urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'
2016-08-08 23:02:48,606 [sentry.errors.uncaught] [ERROR] [u'IndexError: list index out of range', u' File "pokecli.py", line 521, in ', u' File "pokecli.py", line 95, in main', u' File "pokemongo_bot/init.py", line 446, in tick', u' File "pokemongo_bot/cell_workers/recycle_items.py", line 22, in work', u' File "pokemongo_bot/init.py", line 820, in item_inventory_count', u' File "pokemongo_bot/init.py", line 781, in get_inventory', u' File "pgoapi/pgoapi.py", line 122, in function', u' File "pokemongo_bot/api_wrapper.py", line 106, in call', u' File "pokemongo_bot/api_wrapper.py", line 63, in _call', u' File "pgoapi/pgoapi.py", line 220, in call', u' File "pgoapi/rpc_api.py", line 129, in request', u' File "pgoapi/rpc_api.py", line 359, in _parse_main_response', u' File "pgoapi/rpc_api.py", line 376, in _parse_sub_responses']
Steps to Reproduce
Other Information
OS: Ubuntu 14.04.5 LTS
Git Commit: a2b9fe9
Python Version: Python 2.7.6
The text was updated successfully, but these errors were encountered: