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

IndexError: list index out of range #15

Open
andysom25 opened this issue Jul 3, 2016 · 3 comments
Open

IndexError: list index out of range #15

andysom25 opened this issue Jul 3, 2016 · 3 comments

Comments

@andysom25
Copy link

andysom25 commented Jul 3, 2016

Got everything set up and now this is what I'm getting when I run the script:

 python speedcomplainer.py
======================================
 Starting Speed Complainer!
 Lets get noisy!
======================================
sh: 1: /usr/local/bin/speedtest-cli: not found
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "speedcomplainer.py", line 99, in run
    speedTestResults = self.doSpeedTest()
  File "speedcomplainer.py", line 116, in doSpeedTest
    downloadResult = resultSet[1]
IndexError: list index out of range

Help ?

@engFelipeMonteiro
Copy link

Its happens when the speedtest return a error and can't split correctly.

@elzach
Copy link

elzach commented Jul 23, 2016

Just got this same error
Python 2.7 too @andysom25 did you find a solution?

@tcwatson
Copy link

tcwatson commented Sep 23, 2016

I just installed this and am getting the same error... anyone ever fix it?

Edit: just realized, the first line of the error says sh: 1: /usr/local/bin/speedtest-cli: not found

To fix, do:
pip install speedtest-cli

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

4 participants