-
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
[ERROR] IndexError: list index out of range #3121
Comments
I just got the same thing. Works on iOS app still, so not a ban. |
Getting this aswell. Bot runs for like 1 Minute, then exits with IndexError on that subrequests_list Works for me now, seems to be server issues. (Germany) |
Same, no changes in code or config |
me also get 2016-08-09 02:32:27,094 [PokemonGoBot] [INFO] Found encrypt.so! Platform: darwin Bot root directory: /Users/z4q/Code/pokemongo/bot01 |
me2 error appears since 10min ago no changed were made |
Same here, just to note, I get the same error also on pokemongo-map-node, but pokemongo-bot, which is java, works fine. EDIT: Which means this error can't be fixed here, it is probably an API problem. |
still error on me |
using latest dev version |
perhaps servers unstable. please have some patience and try later :) |
same here, last 10 minutes it crashed out, Traceback (most recent call last): |
unknown 7 incoming : D |
@ocoot could you change the title to something like 'IndexError: list index out of range'? Perhaps more of those affected can see this and share info |
Same here, this is super weird. Here is what happens on my three bots A, B, C. A: Ran fine throughout this episode without any problem: I then tried to restart B and C a couple times and they kept receiving too short responses. I setup the bot to keep trying after 30 sec when that happened, but always receiving these shorter responses. So to me it's clear: Niantic is playing with our bots using the couple fields of the API that we still haven't figured out to see what accounts and how many are dropping. |
Mine ran for 2.5 hours before this showed up. Connection issues with the servers. If I run it again the error comes immediately. So it's probably (hopefully) something that will sort itself out.
|
No, I don't think it is a server issue. I think that they are actively messing with it, probably experimenting their next API modification, and making sure it weeds out the intended "customers". |
its working again now btw error again. lol |
Like I said, it seems to be account dependent (my bot C still crashes on this). |
Same problem here
|
@ocoot I would recommend that your remove your image in attachement. It makes your account easily identifiable. Not that Niantic would care to address botting on a case-by-case basis, but you are better off remaining stealthy I think. |
ok bro. sorry :) @AllYourBasesAreBelongToUs |
My "stable" bot does not have this issue, but my dev Bot has it .. |
Yes, weird, it is on and off (but remains on for now on my bot C). But, maybe this is just a server issue after all, and I am just being paranoïd. |
5 minutes after my comment here (saying "same problem"), I just run "./run.sh" again and it working. Without updating anything. |
I'm seeing the same, first account running still. 'Bot' account getting the error. |
Well, got myself a nice slew of messages, full report here:
Dev commit: f648be3 |
@JohnAlbert1 I've the same problem and the bot is set to work 20km away from my current position |
From the looks of it, it seems like they are messing with the API again to throw the bots out (since Unknown6 is already known). |
For me i've got three bots working fine for the last hour or so, but one just won't work at all. I tried the following:
The following worked for one bot but not for another. Here is the error: 2016-08-08 22:22:40,188 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Lake Pit Viewing Station (71c496edb8a945c884f45200ab1d821e.16) |
Now everything is working fine again, a real strange behaviour. |
For what it's worth, I have scripts that run each bot in a term window and launch with an infinite loop so if a bot craps out, it automatically restarts. |
I did this under "MoveToFort":
Seems to do the trick for me, no more crashing for over 10 minutes. |
everything works now without tricking the code 💃 |
Working on my end now, was having same issues earlier. We'll see what happens....... |
The bot hasn't crashed but now what happens is this: Bot number 1: 2016-08-08 22:57:15,894 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop S. M. U. R. R. F. Tree Tribute Mural - 0.09km (attraction of lure 0.12km) Bot number 2: 2016-08-08 22:52:07,167 [FollowSpiral] [INFO] [position_update] Walking from (34.061419122967344, -118.35571762514489, 0) to (34.061419122967344, -118.35635875771466, 0) (59.0599173102 m) And so forth, this happens with every bot now. It either gets stuck after a while with FollowSpiral or SpinFort. |
@firzzen do you have enough space in your pokemon bag? |
Yes of course @RaizenInstinct , it's multiple bots, not just one. |
Now it's working fine. Was walking, walking, walking, walking...being too far from pokestops etc but then suddenly all of them started working properly. Must be a server related issue? |
bot crashed after trying to fix softban? 2016-08-09 07:17:17,414 [PokemonGoBot] [INFO] [bot_start] Starting bot... |
👍 |
there was a refactor of pokemon_catch_worker that may have introduced this |
Try this
|
Commenting https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/pokecli.py#L84 seems to workaround this issue. |
I just submitted #3197 to fix it |
I use your fix but after a 2 minutes run, the issue came back :
My fixed file ::
The mater branch works well |
Can anyone comment on the fix from #3197 ? Has it improved? I probably should pull latest dev though, haven't done it since Sunday morning :) |
The lastest dev with this fix runs like a charm since 2 hours. |
Traceback (most recent call last):
File "pokecli.py", line 503, in
main()
File "pokecli.py", line 75, in main
bot.start()
File "/root/PokemonGo-Bot/pokemongo_bot/init.py", line 75, in start
self._setup_api()
File "/root/PokemonGo-Bot/pokemongo_bot/init.py", line 678, in _setup_api
self.update_web_location()
File "/root/PokemonGo-Bot/pokemongo_bot/init.py", line 492, in update_web_location
gym_longitude=fort.get('longitude')
File "/root/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 122, in function
return request.call()
File "/root/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 106, in call
result = self._call()
File "/root/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 63, in _call
return PGoApiRequest.call(self)
File "/root/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 220, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "/root/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 129, in request
response_dict = self._parse_main_response(response, subrequests)
File "/root/PokemonGo-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 "/root/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 376, in _parse_sub_responses
request_entry = subrequests_list[i]
IndexError: list index out of range
what this is? :/
The text was updated successfully, but these errors were encountered: