Speedtest fail from 154 to 155

help ,

It worked fine, update from 154 to 155 and this is happening

[root@miservidor ~]# speedtest-cli --list | grep USA
Traceback (most recent call last):
File “/usr/bin/speedtest-cli”, line 11, in
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@miservidor ~]# speedtest-cli
Retrieving speedtest.net configuration…
Traceback (most recent call last):
File “/usr/bin/speedtest-cli”, line 11, in
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@miservidor ~]#

Hello Arlin! Welcome to the IPFire Community!

Thank you for finding this issue! I see the same messages with speedtest. Please add a bug report to Bugzilla. That will get this issue the attention it deserves.

Here is information about Bugzilla:

Here is the Bugzilla system:
https://bugzilla.ipfire.org

Login with the same eMail and password used to open your IPFire account.

If you have any questions or need help with the Bugzilla system please ask.

Hi,

No need to do that. :sunglasses:

This bug is already in Bugzilla as #12602

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

Comitted here:
https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=c49bf5412b3d1c3ef8ac894839d04fbfd82b4d3a

Tested. Works.

Best,
Matthias

2 Likes

Ugh! And I saw this also! This will teach me to pay attention!

THANK YOU very much

Until the bugfix gets included in the next release, there is a simple fix.

Edit /usr/lib/python3.8/site-packages/speedtest.py
comment line 1174 and add this line…

map(int, [server_no for server_no in server_config['ignoreids'].split(',') if server_no])

Save, exit, speedtest will work.

REF: ValueError: invalid literal for int() with base 10: '' by ligrevx · Pull Request #769 · sivel/speedtest-cli · GitHub

4 Likes