speedtest -cli suddenly stops working

Forum Forums New users New Users and General Questions speedtest -cli suddenly stops working

  • This topic has 14 replies, 6 voices, and was last updated Jul 6-12:45 pm by seriousness.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #57604
    Member
    ok-ok

      I have used speedtest -cli for many years but now it throws up
      these lines. I should add that I have never
      tampered with the source code which is python.Any ideas ?

      Thu 15 Apr 2021 11:40:08 AM PST
      Retrieving speedtest.net configuration…
      Traceback (most recent call last):
      File “/usr/local/bin/speedtest-cli.py”, line 2000, in <module>
      main()
      File “/usr/local/bin/speedtest-cli.py”, line 1986, in main
      shell()
      File “/usr/local/bin/speedtest-cli.py”, line 1875, in shell
      secure=args.secure
      File “/usr/local/bin/speedtest-cli.py”, line 1091, in __init__
      self.get_config()
      File “/usr/local/bin/speedtest-cli.py”, line 1174, in get_config
      map(int, server_config[‘ignoreids’].split(‘,’))
      ValueError: invalid literal for int() with base 10: ”

      #57605
      Anonymous
        Helpful
        Up
        1
        ::

        The format of the serverslist may have recently been changed, causing the python script to choke.
        How to get it working again:

        (as sudo) edit /usr/local/bin/speedtest-cli.py
        and replace these 3 lines, about Line1173…

        ignore_servers = list(
             map(int, server_config['ignoreids'].split(','))
        )

        …with this single line
        ignore_servers = []

        #57618
        Member
        xinomilo
          Helpful
          Up
          0
          ::

          error was reported, and fixed upstream and debian (sid) as well:
          https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986637

          #57619
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            Make sure you have the latest antix-goodies since it removes our version of speedtest-cli. (as from antix-goodies version 0.8.02).

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #57625
            Member
            ok-ok
              Helpful
              Up
              0
              ::

              Many thanks skidoo, for your help and advice it works
              like a dream again.

              • This reply was modified 2 years ago by ok-ok.
              #57627
              Member
              ok-ok
                Helpful
                Up
                0
                ::

                Does not the regular upgrade include the `latest antix-goodies” ?

                #57628
                Forum Admin
                anticapitalista
                  Helpful
                  Up
                  0
                  ::

                  If you are using antiX-19 series, latest antix-goodies does not include speedtest-cli anymore.

                  Philosophers have interpreted the world in many ways; the point is to change it.

                  antiX with runit - leaner and meaner.

                  #57777
                  Member
                  seriousness
                    Helpful
                    Up
                    0
                    ::

                    But why is speedtest-cli.py still in /usr/local/bin/ and not deleted by “apt autoremove”?

                    Btw.: Hello everybody!

                    #57778
                    Forum Admin
                    anticapitalista
                      Helpful
                      Up
                      0
                      ::

                      It is/was packaged in antix-goodies package.
                      Make sure this package had been updated and speedtest-cli.py will be removed from /usr/local/bin.

                      Philosophers have interpreted the world in many ways; the point is to change it.

                      antiX with runit - leaner and meaner.

                      #57779
                      Member
                      seriousness
                        Helpful
                        Up
                        0
                        ::

                        antix-goodies is version 0.8.4.3 …

                        #57780
                        Forum Admin
                        anticapitalista
                          Helpful
                          Up
                          0
                          ::

                          That version of antix-goodies does not include speedtest-cli.py and so it (speedtest-cli-py) should not appear in /usr/local/bin

                          This is from the changelog:

                          antix-goodies (0.8.02) buster; urgency=medium
                          
                            * removed speedtest-cli.py
                          
                           -- anticapitalista <antix@operamail.com>  Sun, 24 Jan 2021 22:08:39 +0200
                          • This reply was modified 2 years ago by anticapitalista. Reason: typo

                          Philosophers have interpreted the world in many ways; the point is to change it.

                          antiX with runit - leaner and meaner.

                          #57796
                          Member
                          seriousness
                            Helpful
                            Up
                            0
                            ::

                            May be a legacy from a previous version.

                            $ ll /usr/local/bin/speedtest-cli.py 
                            -rwxr-xr-x 1 root root 64K Mai 22  2020 /usr/local/bin/speedtest-cli.py
                            #57797
                            Forum Admin
                            anticapitalista
                              Helpful
                              Up
                              0
                              ::

                              Try sudo apt install --reinstall antix-goodies

                              Philosophers have interpreted the world in many ways; the point is to change it.

                              antiX with runit - leaner and meaner.

                              #62029
                              Member
                              creativeboulder
                                Helpful
                                Up
                                0
                                ::

                                Thank you. Very helpful.

                                #62835
                                Member
                                seriousness
                                  Helpful
                                  Up
                                  1
                                  ::

                                  /usr/local/bin/speedtest-cli.py is included in package desktop-session-antix (0.5.26).

                                Viewing 15 posts - 1 through 15 (of 15 total)
                                • You must be logged in to reply to this topic.