RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1330123 - AttributeError: 'NoneType' object has no attribute 'order' on terminal
Summary: AttributeError: 'NoneType' object has no attribute 'order' on terminal
Keywords:
Status: CLOSED DUPLICATE of bug 1268094
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-25 12:32 UTC by Rehana
Modified: 2016-06-06 19:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-06 19:33:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rehana 2016-04-25 12:32:04 UTC
Description of problem:


Version-Release number of selected component (if applicable):
# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.0.10-1
subscription management rules: 5.20
subscription-manager: 1.17.5-1.git.0.9f499d8.el7
python-rhsm: 1.17.1-1.git.1.323232f.el7


How reproducible:
3/3

Steps to Reproduce:
1.launch subscription-manager-gui
2.Register and auto-attach subscriptions
3.Unregister from the GUI 
3.

Actual results:
 subscription-manager-gui
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
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'
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'

Observed a track back on cli

Expected results:
No traceback

Additional info:

Comment 5 Chris Snyder 2016-06-06 19:33:13 UTC
I suspect that the following commit fixed the issue seen here:

https://github.com/candlepin/subscription-manager/commit/936c7ba18fcc9055928e9db43aa592b589c0547d

It appears this bug is a duplicate of this one: https://bugzilla.redhat.com/show_bug.cgi?id=1268094


Closing as a duplicate as the above bug is verified.

*** This bug has been marked as a duplicate of bug 1268094 ***


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