You are not logged in.

#1 2016-01-01 12:53:38

AL13N
Member
Registered: 2015-10-05
Posts: 148

[SOLVED] speedtest-cli not working

speedtest-cli (0.3.1-1) stopped working for me today producing an error.

COMMAND:~$ speedtest
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Failed to parse list of speedtest.net servers

Searching revealed this comment with the following solution.

Open speedtest_cli.py (/usr/lib/python2.7/dist-packages) and change line 345 from...

    uh = urlopen('http://www.speedtest.net/speedtest-servers-static.php')

...to

    uh = urlopen('http://c.speedtest.net/speedtest-servers-static.php')

Offline

#2 2016-01-01 13:41:54

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,942

Re: [SOLVED] speedtest-cli not working

Not a clue how you figured that out but thank you a million and one times.

Mine has been out of action for a few days, but I also had ISP problems so I thought it was related.

 01 Jan 16 | 10:33:19 ~
    $ lon2

 tor1 | tor2 | hfx1 | hfx2
 van1 | van2 | lon1 | lon2
 swz1 | swz2 | flo1 | flo2
 mex1 | mex2 | wpg1 | wpg2
 ftel | tcom | tcen | clor
 pilr | lago | rosa | vges

Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Prima S.A. (190.195.125.2)...
Hosted by Excell Group PLC (London) [11132.24 km]: 324.873 ms
Testing download speed........................................
Download: 14.20 Mbits/s
Testing upload speed..................................................
Upload: 3.03 Mbits/s
 
 01 Jan 16 | 10:34:19 ~
    $ 

Happy New Year AL13N, may 2016 be a good year for you and yours..


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#3 2016-01-01 13:56:53

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] speedtest-cli not working

Thanks for this AL13N smile

Which operating system are you using?

Sounds like this should be reported to the package maintainer.

FWIW, version 0.3.4p0 works fine in OpenBSD 5.9-beta


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#4 2016-01-01 16:26:35

AL13N
Member
Registered: 2015-10-05
Posts: 148

Re: [SOLVED] speedtest-cli not working

Sector11: Happy New Year AL13N, may 2016 be a good year for you and yours..

Head_on_a_Stick: Thanks for this AL13N

You're welcome and likewise.

Head_on_a_Stick: Which operating system are you using?

BunsenLabs 8.2

Head_on_a_Stick: Sounds like this should be reported to the package maintainer... version 0.3.4p0 works fine

The comment I linked to is from a closed issue thread on GitHub.  The issue was fixed in version 0.3.2.

Offline

Board footer

Powered by FluxBB