speedtest-cli stopped working today?
Noah Duffy
noahduffy at fastmail.fm
Mon Apr 12 10:19:57 UTC 2021
On Mon, Apr 12, 2021, at 12:41 AM, Sorin Srbu wrote:
> 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?
>
I can confirm it is no longer working for me as well. However, it's on an installation with Python 2.7.13.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210412/f7ee33e7/attachment.html>
More information about the ubuntu-users
mailing list