Bug 1607251 - [abrt] speedtest-cli: get_config(): speedtest.py:1329:shell:TypeError: catching classes that do not inherit from BaseException is not allowed
Summary: [abrt] speedtest-cli: get_config(): speedtest.py:1329:shell:TypeError: catchi...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: speedtest-cli
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matías Kreder
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a6e6e9a1cb3fdf1ab129a9f7be7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-23 05:44 UTC by marcel
Modified: 2019-05-28 22:42 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 22:42:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.37 KB, text/plain)
2018-07-23 05:44 UTC, marcel
no flags Details
File: cgroup (399 bytes, text/plain)
2018-07-23 05:44 UTC, marcel
no flags Details
File: cpuinfo (1.54 KB, text/plain)
2018-07-23 05:44 UTC, marcel
no flags Details
File: environ (5.50 KB, text/plain)
2018-07-23 05:44 UTC, marcel
no flags Details
File: mountinfo (3.92 KB, text/plain)
2018-07-23 05:44 UTC, marcel
no flags Details
File: namespaces (129 bytes, text/plain)
2018-07-23 05:44 UTC, marcel
no flags Details
File: open_fds (244 bytes, text/plain)
2018-07-23 05:44 UTC, marcel
no flags Details

Description marcel 2018-07-23 05:44:11 UTC
Description of problem:
Problem happens if one starts speedtest-cli without having a network connection.

Version-Release number of selected component:
speedtest-cli-1.0.2-3.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/speedtest-cli
crash_function: get_config
exception_type: speedtest.ConfigRetrievalError
executable:     /usr/bin/speedtest-cli
interpreter:    python3-3.6.5-1.fc28.x86_64
kernel:         4.17.7-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
speedtest.py:1329:shell:TypeError: catching classes that do not inherit from BaseException is not allowed

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/speedtest.py", line 1328, in shell
    speedtest = Speedtest()
  File "/usr/lib/python3.6/site-packages/speedtest.py", line 701, in __init__
    self.get_config()
  File "/usr/lib/python3.6/site-packages/speedtest.py", line 723, in get_config
    raise ConfigRetrievalError(e)
speedtest.ConfigRetrievalError: <urlopen error [Errno -2] Name or service not known>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/speedtest-cli", line 11, in <module>
    load_entry_point('speedtest-cli==1.0.2', 'console_scripts', 'speedtest-cli')()
  File "/usr/lib/python3.6/site-packages/speedtest.py", line 1417, in main
    shell()
  File "/usr/lib/python3.6/site-packages/speedtest.py", line 1329, in shell
    except (ConfigRetrievalError, HTTP_ERRORS):
TypeError: catching classes that do not inherit from BaseException is not allowed

Local variables in innermost frame:
callback: <function print_dots at 0x7f817a8c8ea0>
quiet: False
debug: False
args: Namespace(csv=False, csv_delimiter=',', csv_header=False, json=False, list=False, mini=None, secure=False, server=None, share=False, simple=False, source=None, timeout=10, units=('bit', 1), version=False)

Comment 1 marcel 2018-07-23 05:44:16 UTC
Created attachment 1469846 [details]
File: backtrace

Comment 2 marcel 2018-07-23 05:44:17 UTC
Created attachment 1469847 [details]
File: cgroup

Comment 3 marcel 2018-07-23 05:44:18 UTC
Created attachment 1469848 [details]
File: cpuinfo

Comment 4 marcel 2018-07-23 05:44:20 UTC
Created attachment 1469849 [details]
File: environ

Comment 5 marcel 2018-07-23 05:44:21 UTC
Created attachment 1469850 [details]
File: mountinfo

Comment 6 marcel 2018-07-23 05:44:23 UTC
Created attachment 1469851 [details]
File: namespaces

Comment 7 marcel 2018-07-23 05:44:24 UTC
Created attachment 1469852 [details]
File: open_fds

Comment 8 Maverick 2018-10-01 15:45:37 UTC
Similar problem has been detected:

I had a slow connection. It may be due to that problem.

reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/speedtest-cli
crash_function: get_config
exception_type: speedtest.ConfigRetrievalError
executable:     /usr/bin/speedtest-cli
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.18.10-200.fc28.x86_64
package:        speedtest-cli-1.0.2-3.fc28
reason:         speedtest.py:1329:shell:TypeError: catching classes that do not inherit from BaseException is not allowed
runlevel:       N 5
type:           Python3
uid:            1000

Comment 9 Ben Cotton 2019-05-02 20:46:09 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2019-05-28 22:42:17 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.