Bug 1427249
| Summary: | rhn_register fails to start on Python < 2.5. tui.py extends BaseException, causes NameError | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Laurence Rochfort <laurence.rochfort> |
| Component: | Clients | Assignee: | Jiří Dostál <jdostal> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.6 | CC: | eherget, jdostal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-09-27 19:31:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1484117 | ||
spacewalk 705e9c58e3a17fb9ae567f26809056ec1731279c Spacewalk 2.7 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27 |
Description of problem: Version-Release number of selected component (if applicable): 2.6.8 How reproducible: Run rhn_register using Python with version less than 2.5 Steps to Reproduce: 1. Run rhn_register Actual results: rhn_register does not start: Traceback (most recent call last): File "/usr/sbin/rhn_register", line 29, in ? from up2date_client import tui File "/usr/share/rhn/up2date_client/tui.py", line 110, in ? class WindowSkipException(BaseException): NameError: name 'BaseException' is not defined Expected results: rhn_register starts successfully. Additional info: Whilst this is only a problem on Python prior to 2.5, the Python docs state that BaseException should not be directly inherited by user-defined Classes anyway. https://docs.python.org/2/library/exceptions.html#exceptions.BaseException