Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

list index out of range error #17

Closed
sa-ba01 opened this issue May 30, 2018 · 1 comment
Closed

list index out of range error #17

sa-ba01 opened this issue May 30, 2018 · 1 comment

Comments

@sa-ba01
Copy link

sa-ba01 commented May 30, 2018

Hello, I made 5 bots running on my raspberry Pi, 4 Bots are running without any problem, but the fifth bot has this error (I don't know how to fix it, it's the same code on all of the 5 bots):

start cycle: 1 Traceback (most recent call last): File "winbot.py", line 289, in <module> win_things() File "winbot.py", line 31, in win_things filtered_tweets = filter_tweets(fresh_tweets) File "winbot.py", line 65, in filter_tweets tweets = past_retweets_filter(tweets) File "winbot.py", line 93, in past_retweets_filter past_retweets = get_past_retweets() File "winbot.py", line 50, in get_past_retweets line = line[3] IndexError: list index out of range
What did I make wrong?

@jflessau
Copy link
Owner

jflessau commented Jun 7, 2018

Seems like something is wrong with your log.txt. Try to replace it with the default one.

@jflessau jflessau closed this as completed Jun 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants