Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): subscription management rules: 5.19 subscription-manager: 1.16.8-1.el6 python-rhsm: 1.16.6-1.el6 How reproducible: 2/2 Steps to Reproduce: 1.Launch Help from subscription-manager gui 2.Launch system --> Repositories 3. Actual results: 1 ) when help is launched ------------------- (gnome-help:13781): Gtk-CRITICAL **: IA__gtk_tool_button_new: assertion `icon_widget == NULL || GTK_IS_MISC (icon_widget)' failed (gnome-help:13781): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gnome-help:13781): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gnome-help:13781): Gtk-CRITICAL **: IA__gtk_toolbar_insert: assertion `GTK_IS_TOOL_ITEM (item)' failed (gnome-help:13781): Gtk-CRITICAL **: IA__gtk_tool_button_new: assertion `icon_widget == NULL || GTK_IS_MISC (icon_widget)' failed (gnome-help:13781): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gnome-help:13781): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gnome-help:13781): Gtk-CRITICAL **: IA__gtk_toolbar_insert: assertion `GTK_IS_TOOL_ITEM (item)' failed OMF category 'GNOME|Accessories' not recognised, ignoring. OMF category 'GNOME|Accessories' not recognised, ignoring. 2) when manager repos are launched ------------------ /usr/share/rhsm/subscription_manager/gui/reposgui.py:194: GtkWarning: IA__gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed self.main_content_container.remove(self.details_vbox) Expected results: no warnings Additional info:
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