Skip to content
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 #3194

Closed
YvesHenri opened this issue Aug 9, 2016 · 13 comments
Closed

list index out of range #3194

YvesHenri opened this issue Aug 9, 2016 · 13 comments

Comments

@YvesHenri
Copy link
Contributor

Please check configuration at http://jsonlint.com/ before posting an issue.

Expected Behavior

Log in and start the tasks loop

Actual Behavior

Log in and crash (sometimes it doesnt even start the very first task, sometimes it tries to catch a pokemon).

Traceback (most recent call last):
File "pokecli.py", line 502, in
main()
File "pokecli.py", line 133, in main
raise e
IndexError: list index out of range

Steps to Reproduce

Log in (python pokecli.py...)

Other Information

OS: Windows 10
Git Commit: dee28d9
Python Version: 2.7.12

@lifez
Copy link

lifez commented Aug 9, 2016

Same here

2016-08-09 09:46:05,289 [ cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 502, in
main()
File "pokecli.py", line 133, in main
raise e
IndexError: list index out of range

@ghost
Copy link

ghost commented Aug 9, 2016

+1 ... looks like there has been another change.

@bernardoVale
Copy link
Contributor

Same here using Docker containers

@shivamkalra
Copy link

Related: #3193

@shivamkalra
Copy link

Below should fix it:

pip uninstall pgoapi && pip install -e git+https://github.com/keyphact/pgoapi.git#egg=pgoapi

@YvesHenri
Copy link
Contributor Author

I was looking at issue #3193 but unfortunately the above snippet doesnt solve this issue. I'm not really convinced its related to their servers. It might just be another API change...

@kesfaw
Copy link

kesfaw commented Aug 9, 2016

Try to take a rest in 10 minutes then start bot again. It has been working to me.

@darrylabbate
Copy link

Getting this same issue. I installed the new pgoapi and it didn't fix anything, but the bot ended up running a few minutes later anyway. I'm guessing it's a server issue.

@shivamkalra
Copy link

Try dev branch if issue persists? It is currently happening on one of my bot account but it fixed itself after 10 mins rest like @kesfaw said. Also for precaution, can you try temporary fix in: #3176

@kesfaw
Copy link

kesfaw commented Aug 9, 2016

[Additional information]
I have two working bots but I only got this error on the bot having config with task type "FollowPath".
As a fact, the error message we got is also refer to a certain list out range ~> "IndexError: list index out of range".

Does it has any relation?

@shivamkalra
Copy link

@kesfaw Try changing your working bot to have same config as your non working bot (just exchange account info). If it is because of FollowPath then create additional ticket and refer this ticket.

@kesfaw
Copy link

kesfaw commented Aug 9, 2016

Okay @shivamkalra. I'll try next error catching time.

@RedViper9
Copy link
Contributor

As there have been many updates since this issue was posted, I'm assuming this issue has been resolved. If I'm wrong, please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants