FS#70363 - [speedtest-cli] PLEASE ENTER SUMMARY

Attached to Project: Community Packages
Opened by Eric Cheng (eh8) - Thursday, 08 April 2021, 05:23 GMT
Last edited by Konstantin Gizdov (kgizdov) - Monday, 26 April 2021, 07:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:

Running `speedtest` generates Python exception

```
Retrieving speedtest.net configuration...
Traceback (most recent call last):
File "/usr/bin/speedtest", line 33, in <module>
sys.exit(load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest')())
File "/usr/lib/python3.9/site-packages/speedtest.py", line 1986, in main
shell()
File "/usr/lib/python3.9/site-packages/speedtest.py", line 1872, in shell
speedtest = Speedtest(
File "/usr/lib/python3.9/site-packages/speedtest.py", line 1091, in __init__
self.get_config()
File "/usr/lib/python3.9/site-packages/speedtest.py", line 1173, in get_config
ignore_servers = list(
ValueError: invalid literal for int() with base 10: ''

```

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

Install upstream package and try to initiate speed test.
This task depends upon

Closed by  Konstantin Gizdov (kgizdov)
Monday, 26 April 2021, 07:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  speedtest-cli 2.1.3-1
Comment by Aidan Dang (AidanGG) - Thursday, 08 April 2021, 08:38 GMT
Some fixes detailed in the PR upstream: https://github.com/sivel/speedtest-cli/pull/769
Comment by roman (tummult) - Friday, 09 April 2021, 07:05 GMT
fixed in speedtest-cli v2.1.3
e.g. run: pip install speedtest-cli --upgrade
Comment by Oleksandr Natalenko (post-factum) - Friday, 16 April 2021, 20:56 GMT
I can also confirm v2.1.3 fixes this issue for me.

Loading...