Forum › Forums › New users › New Users and General Questions › speedtest -cli suddenly stops working
- This topic has 14 replies, 6 voices, and was last updated Jul 6-12:45 pm by seriousness.
-
AuthorPosts
-
April 15, 2021 at 4:04 am #57604Member
ok-ok
I have used speedtest -cli for many years but now it throws up
these lines. I should add that I have never
tampered with the source code which is python.Any ideas ?Thu 15 Apr 2021 11:40:08 AM PST
Retrieving speedtest.net configuration…
Traceback (most recent call last):
File “/usr/local/bin/speedtest-cli.py”, line 2000, in <module>
main()
File “/usr/local/bin/speedtest-cli.py”, line 1986, in main
shell()
File “/usr/local/bin/speedtest-cli.py”, line 1875, in shell
secure=args.secure
File “/usr/local/bin/speedtest-cli.py”, line 1091, in __init__
self.get_config()
File “/usr/local/bin/speedtest-cli.py”, line 1174, in get_config
map(int, server_config[‘ignoreids’].split(‘,’))
ValueError: invalid literal for int() with base 10: ”April 15, 2021 at 6:14 am #57605Anonymous
::The format of the serverslist may have recently been changed, causing the python script to choke.
How to get it working again:(as sudo) edit /usr/local/bin/speedtest-cli.py
and replace these 3 lines, about Line1173…ignore_servers = list( map(int, server_config['ignoreids'].split(',')) )…with this single line
ignore_servers = []April 15, 2021 at 10:48 am #57618Member
xinomilo
::error was reported, and fixed upstream and debian (sid) as well:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986637April 15, 2021 at 11:12 am #57619Forum Admin
anticapitalista
::Make sure you have the latest antix-goodies since it removes our version of speedtest-cli. (as from antix-goodies version 0.8.02).
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 15, 2021 at 1:36 pm #57625Memberok-ok
::Many thanks skidoo, for your help and advice it works
like a dream again.- This reply was modified 2 years ago by ok-ok.
April 15, 2021 at 1:50 pm #57627Memberok-ok
April 15, 2021 at 2:35 pm #57628Forum Admin
anticapitalista
::If you are using antiX-19 series, latest antix-goodies does not include speedtest-cli anymore.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 17, 2021 at 11:58 am #57777Member
seriousness
::But why is speedtest-cli.py still in /usr/local/bin/ and not deleted by “apt autoremove”?
Btw.: Hello everybody!
April 17, 2021 at 12:08 pm #57778Forum Admin
anticapitalista
::It is/was packaged in antix-goodies package.
Make sure this package had been updated and speedtest-cli.py will be removed from /usr/local/bin.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 17, 2021 at 12:18 pm #57779Member
seriousness
April 17, 2021 at 12:36 pm #57780Forum Admin
anticapitalista
::That version of antix-goodies does not include speedtest-cli.py and so it (speedtest-cli-py) should not appear in /usr/local/bin
This is from the changelog:
antix-goodies (0.8.02) buster; urgency=medium * removed speedtest-cli.py -- anticapitalista <antix@operamail.com> Sun, 24 Jan 2021 22:08:39 +0200- This reply was modified 2 years ago by anticapitalista. Reason: typo
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 17, 2021 at 4:01 pm #57796Member
seriousness
::May be a legacy from a previous version.
$ ll /usr/local/bin/speedtest-cli.py -rwxr-xr-x 1 root root 64K Mai 22 2020 /usr/local/bin/speedtest-cli.pyApril 17, 2021 at 4:10 pm #57797Forum Admin
anticapitalista
::Try
sudo apt install --reinstall antix-goodiesPhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
June 20, 2021 at 1:43 am #62029Membercreativeboulder
July 6, 2021 at 12:45 pm #62835Member
seriousness
-
AuthorPosts
- You must be logged in to reply to this topic.