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
There is some kind of bug when processing accounts that haven't posted much. The script crashes with the following error:
Traceback (most recent call last):
File "reddit-analyzer.py", line 192, in <module>
timeGraph(timelist)
File "reddit-analyzer.py", line 144, in timeGraph
d.append(tuple([g, tgdata[e][1]]))
IndexError: list index out of range
I've printed the contents of tgdata before the loop starts and the values of e as the loop is looping and I got this:
There is some kind of bug when processing accounts that haven't posted much. The script crashes with the following error:
I've printed the contents of
tgdata
before the loop starts and the values ofe
as the loop is looping and I got this:Clearly, the error occurs because the script is trying to get the 9th element of an 8-element array.
The text was updated successfully, but these errors were encountered: