speedtest-cli stopped working today?
Sorin Srbu
sorin.srbu at ki.se
Mon Apr 12 05:41:02 UTC 2021
On Sun, 2021-04-11 at 15:31 -0500, Knute Johnson wrote:
> Just noticed today? I reinstalled it, purged it and installed it twice
> and this error.
>
> knute at knute-XPS-8700:~/bin$ speedtest-cli
> Retrieving speedtest.net configuration...
> Traceback (most recent call last):
> File "/usr/bin/speedtest-cli", line 11, in <module>
> load_entry_point('speedtest-cli==2.1.2', 'console_scripts',
> 'speedtest-cli')()
> File "/usr/lib/python3/dist-packages/speedtest.py", line 1986, in main
> shell()
> File "/usr/lib/python3/dist-packages/speedtest.py", line 1872, in shell
> speedtest = Speedtest(
> File "/usr/lib/python3/dist-packages/speedtest.py", line 1091, in
> __init__
> self.get_config()
> File "/usr/lib/python3/dist-packages/speedtest.py", line 1173, in
> get_config
> ignore_servers = list(
> ValueError: invalid literal for int() with base 10: ''
> knute at knute-XPS-8700:~/bin$
>
Seems to be working here:
sorin at lanfear2:~/git/scripts-and-stuff/common$ ./speedtest_cli.py
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Swedish University Network (x.y.z.n)...
Selecting best server based on latency...
Hosted by RETN (Stockholm) [0.29 km]: 42.531 ms
Testing download speed........................................
Download: 77.73 Mbit/s
Testing upload speed..................................................
Upload: 192.34 Mbit/s
sorin at lanfear2:~/git/scripts-and-stuff/common$ python -V
Python 2.7.18
Something fishy with your python?
--
Sorin Srbu, Serverdrift
Tele: 08-524 84166
Karolinska Institutet Universitetsbibliotek
Avdelningen för Verksamhetsstöd
Enheten för Teknikstöd och Bildproduktion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 858 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210412/204d4029/attachment.sig>
More information about the ubuntu-users
mailing list