babluboy / nutty

A Network Utility
GNU General Public License v3.0
155 stars 25 forks source link

Python 3.9 regression in speedtest-cli #74

Closed tim77 closed 3 months ago

tim77 commented 4 years ago

Hello. Python 3.9 regression (probably) in speedtest-cli utility.

Some assumption that this comes from xml.etree.ElementTree https://bugs.python.org/issue36543.

tim77 commented 4 years ago

Filed upstream bug https://github.com/sivel/speedtest-cli/issues/760

babluboy commented 3 years ago

Thanks for this. Is this an issue with specifically python 3.9. Will other users with python 3 have this issue ?

tim77 commented 3 years ago

Only python 3.9. Weird, but upstream repo doesn't exist anymore. :) https://github.com/babluboy/nutty/issues/74#issuecomment-708133423

MBlaschek commented 3 years ago

still an issue. I just downloaded the new version of speedtestcli and it fixes it!

Diginix commented 3 years ago

@MBlaschek from where did you get a new version? I had already speedtest-cli 2.1.2 but since yesterday the issue with:

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/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: ''

python --version: 2.7.18 python3 --version: 3.8.5

root-reborn commented 3 months ago

Fixed the error with PR #95 .If you still feel there is an error,feel free to open a new issue