:: Re: [DNG] help: pyton script proble…
Kezdőlap
Delete this message
Reply to this message
Szerző: Ludovic Bellière
Dátum:  
Címzett: dng
Tárgy: Re: [DNG] help: pyton script problem (after package upg?)
You problem seems to be solved upstream. See
https://github.com/sivel/speedtest-cli/releases/tag/v2.1.3

You can always install speedtest in a virtual env.

On ven, 09 avr 2021, al3xu5 wrote:

> Hi all
>
> Today, after last apt-get upgrade, the `speedtest` python script
> (package is `speedtest-cli`) returns errors:
>
> ~~~
> $ speedtest
> Retrieving speedtest.net configuration...
> Traceback (most recent call last):
>   File "/usr/bin/speedtest", line 11, in <module>
>     load_entry_point('speedtest-cli==2.0.2', 'console_scripts',
> 'speedtest')()
>   File "/usr/lib/python3/dist-packages/speedtest.py", line 1887, in main
>     shell()
>   File "/usr/lib/python3/dist-packages/speedtest.py", line 1783, in shell
>     secure=args.secure
>   File "/usr/lib/python3/dist-packages/speedtest.py", line 1027, in
> __init__
>     self.get_config()
>   File "/usr/lib/python3/dist-packages/speedtest.py", line 1113, in
> get_config
>     map(int, server_config['ignoreids'].split(','))
> ValueError: invalid literal for int() with base 10: ''
> ~~~

>
>
> I am not sure the problem is related to the last apt-get upgrade...
> Anyway, could anyone help me to fix this issue, please?
>
> Thanks in advance
> al3xu5
>