| Summary: | GTK warnings when help/manage repositories are launched in GUI | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Rehana <redakkan> |
| Component: | subscription-manager | Assignee: | William Poteat <wpoteat> |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | low | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.8 | CC: | alikins, bcourt, bkearney, csnyder, wpoteat |
| Target Milestone: | rc | Keywords: | Regression, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-10 20:40:03 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: | |
|
Description
Rehana
2016-01-29 14:19:30 UTC
For 1) (the gnome-help warnings), it's gnome-help spewing to it's stderr, which is inherited from subscription-manager-gui.
To shut it up, change managergui.py's gnome-open call to something like
DEVNULL = open(os.devnull, 'w')
subprocess.call(["gnome-open","ghelp:subscription-manager"],
stderr=DEVNULL)
Might not hurt to devnull stdout, but I didn't test.
For 2), the reposgui.py thing Looks like src/subscription-manager/gui/data/glade/repositories.glade didn't get updated to use the new name for the main container. repositories.ui (gtk3) has a 'main_content_container', while repositories.glade (gtk2/rhel6) has 'main_container'. Change repositories.glade to use 'main_content_container' The reposgui.py code seems to be removing the repo details widget at some point, which is likely fine, but I think it may be able to just hide() it. Retested with, subscription management server: 0.9.51.15-1 subscription management rules: 5.15.1 subscription-manager: 1.16.8-3.el6 python-rhsm: 1.16.6-1.el6 No GTK warnings are displayed after launching "Help" and "Repositories" from subscription-manager GUI Moving the bug to "Verified" Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0797.html |