Bug 1268094 - Traceback in subscription-manager-gui from My Subscriptions Tab
Traceback in subscription-manager-gui from My Subscriptions Tab
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager (Show other bugs)
7.3
Unspecified Unspecified
low Severity low
: rc
: ---
Assigned To: candlepin-bugs
John Sefler
:
: 1330123 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-01 15:38 EDT by J.C. Molet
Modified: 2016-11-03 16:27 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-03 16:27:26 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description J.C. Molet 2015-10-01 15:38:58 EDT
Description of problem:
This is a continuation of bug 1266480 . While that one is fixed, I can get to the error state using another path. While this does not affect the functionality of subman-gui in any way, the traceback still exists.  

Whenever you unregister and have subscriptions attached to the machine, you will get a traceback.

Version-Release number of selected component (if applicable):
subscription-manager-gui-1.15.9-13.el7.x86_64  (version in 7.2-snap4)

How reproducible:
always

Steps to Reproduce:
1. Open a terminal and run subscription-manager-gui
2. Register subscription-manager if not already
3. Attach more than one or more subscriptions.
4. Go to System > Unregister and confirm.

Actual results:
A traceback is reported in the terminal to stderr.

Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/gui/widgets.py", line 313, in _selection_callback
    self.on_selection(selection)
  File "/usr/share/rhsm/subscription_manager/gui/mysubstab.py", line 269, in on_selection
    order = cert.order
AttributeError: 'NoneType' object has no attribute 'order'
Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/gui/widgets.py", line 313, in _selection_callback
    self.on_selection(selection)
  File "/usr/share/rhsm/subscription_manager/gui/mysubstab.py", line 269, in on_selection
    order = cert.order
AttributeError: 'NoneType' object has no attribute 'order'

Expected results:
No traceback would be reported since nothing is wrong.

Additional info:
Comment 1 John Sefler 2015-10-02 10:41:31 EDT
deferring to rhel-7.3.0 due to severity and time schedule remaining for rhel-7.2.0
Comment 2 Adrian Likins 2015-10-02 18:39:00 EDT
pr at https://github.com/candlepin/subscription-manager/pull/1318
Comment 3 Mike McCune 2016-03-28 18:23:05 EDT
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions
Comment 5 Shwetha Kallesh 2016-05-16 07:14:06 EDT
Marking verified as I dont see any trace back reported in the terminal , after registering ,attaching subscriptions and then unregistering

[root@shwetha-workstation ~]# rpm -qa | grep subscription-manager-gui
subscription-manager-gui-1.17.6-1.el7.x86_64
Comment 6 Shwetha Kallesh 2016-05-16 07:15:01 EDT
Marking verified as I dont see any trace back reported in the terminal , after registering ,attaching subscriptions and then unregistering

[root@shwetha-workstation ~]# subscription-manager-gui
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

(subscription-manager-gui:17465): Gtk-CRITICAL **: gtk_event_controller_reset: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed

(subscription-manager-gui:17465): Gtk-CRITICAL **: gtk_event_controller_reset: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed


[root@shwetha-workstation ~]# rpm -qa | grep subscription-manager-gui
subscription-manager-gui-1.17.6-1.el7.x86_64
Comment 7 Chris Snyder 2016-06-06 15:33:13 EDT
*** Bug 1330123 has been marked as a duplicate of this bug. ***
Comment 9 errata-xmlrpc 2016-11-03 16:27:26 EDT
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/RHSA-2016-2592.html

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