[Solved] Speedtest.ent error

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Glamtrains

[Solved] Speedtest.ent error

Post by Glamtrains »

I get this error when running speedtest: How do I fix it?

Code: Select all

pete@minty:~$ speedtest
Retrieving speedtest.net configuration...
Traceback (most recent call last):
  File "/usr/bin/speedtest", line 11, in <module>
    load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest')()
  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: ''
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_speedtest.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/speedtest", line 11, in <module>
    load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest')()
  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: ''
pete@minty:~$
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Speedtest.ent error

Post by Larry78723 »

Please post an inxi -Fxxxzr report. This will give us a concise overview of your hardware and on how Mint sees it.

Here is how to generate the report and post it:

Boot from your installation media (USB/DVD)
Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Execute the command

Code: Select all

 inxi -Fxxxzr 
exactly as it has been typed here.

Mark the complete text output which the command will display with your mouse.
Press the keyboard shortcut <Shift><Ctrl>C to copy the marked text into the clipboard.
Enclose the results between the code markers by selecting </> from the mini toolbar above the textbox where you type your reply then paste <Ctrl>V them in your reply between the code markers [code]Results [/code].

The results will help us to help you.
Larry
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
jimbzk
Level 2
Level 2
Posts: 55
Joined: Fri Aug 09, 2019 2:29 pm
Location: Greece

Re: Speedtest.ent error

Post by jimbzk »

I have the same issue with speedtest-cli the last days... It seems that i am not the only one!!! :?
Image
Last edited by jimbzk on Mon Apr 12, 2021 8:32 am, edited 1 time in total.
Glamtrains

Re: Speedtest.ent error

Post by Glamtrains »

I decided to just us Gnome System Monitor and online Ookla Speedtest instead. I otherwise would need to download Mint iso to do what someone had suggested. After 12 strokes, I don't fiddle with things.
chenyirong
Level 1
Level 1
Posts: 1
Joined: Sat May 08, 2021 4:18 pm

Re: [Solved] Speedtest.ent error

Post by chenyirong »

change 1173 to
map(int, server_config['ignoreids'].split(',')[:-1])
refer: https://chenyirong.blog.csdn.net/articl ... /116553524
jimbzk
Level 2
Level 2
Posts: 55
Joined: Fri Aug 09, 2019 2:29 pm
Location: Greece

Re: [Solved] Speedtest.ent error

Post by jimbzk »

In case anyone is still interested how to fix speedtest-cli error try the following commands:

1) sudo apt install speedtest-cli

2) sudo gzip -k9 /usr/lib/python3/dist-packages/speedtest.py

3) sudo wget https://raw.githubusercontent.com/sivel ... eedtest.py \
-O /usr/lib/python3/dist-packages/speedtest.py

Et voilà ! :D
Locked

Return to “Software & Applications”