Bug 12602 - CORE 155 error with speedtest-cli
Summary: CORE 155 error with speedtest-cli
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: x86_64 Linux
: Will only affect a few users Crash
Assignee: Adolf Belka
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-08 14:31 UTC by Giuseppe C.
Modified: 2021-05-11 19:23 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giuseppe C. 2021-04-08 14:31:43 UTC
Hi,

on core 155 when launching speedtest-cli there are some error, here the complete output

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.8/site-packages/speedtest.py", line 1986, in main
    shell()
  File "/usr/lib/python3.8/site-packages/speedtest.py", line 1872, in shell
    speedtest = Speedtest(
  File "/usr/lib/python3.8/site-packages/speedtest.py", line 1091, in __init__
    self.get_config()
  File "/usr/lib/python3.8/site-packages/speedtest.py", line 1173, in get_config
    ignore_servers = list(
ValueError: invalid literal for int() with base 10: ''
[root@ipfire-cs ~]# 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.8/site-packages/speedtest.py", line 1986, in main
    shell()
  File "/usr/lib/python3.8/site-packages/speedtest.py", line 1872, in shell
    speedtest = Speedtest(
  File "/usr/lib/python3.8/site-packages/speedtest.py", line 1091, in __init__
    self.get_config()
  File "/usr/lib/python3.8/site-packages/speedtest.py", line 1173, in get_config
    ignore_servers = list(
ValueError: invalid literal for int() with base 10: ''

It's a low priority thing.

Thanks for all your support.

Giuseppe
Comment 1 Michael Tremer 2021-04-08 14:58:42 UTC
Can confirm. This is indeed broken.

@Adolf: Would you like to update this package?
Comment 2 Adolf Belka 2021-04-08 16:12:21 UTC
I will pick this up and update the package
Comment 3 Adolf Belka 2021-04-08 20:39:57 UTC
patch submitted for update of speedtest-cli from 2.1.2 to 2.1.3

https://patchwork.ipfire.org/patch/4129/

Update package tested and confirmed to work.
Comment 4 Giuseppe C. 2021-04-09 06:04:32 UTC
Hi Adolf,

Thanks
Giuseppe
Comment 6 Adolf Belka 2021-04-20 06:25:44 UTC
Core Update 156 with fix has been released for testing

https://blog.ipfire.org/post/ipfire-2-25-core-update-156-available-for-testing
Comment 7 Adolf Belka 2021-04-23 15:49:46 UTC
Confirmed that updated speedtest in Core Update 156 works and solves the bug.
Comment 8 Adolf Belka 2021-05-11 19:23:35 UTC
Core Update 156 released.