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 1248821 - date picker on all subscriptions tab throws TypeError
Summary: date picker on all subscriptions tab throws TypeError
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: 1246123
TreeView+ depends on / blocked
 
Reported: 2015-07-30 22:04 UTC by Adrian Likins
Modified: 2015-11-19 11:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 11:50:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
date-picker widget (77.85 KB, image/png)
2015-08-06 07:07 UTC, Shwetha Kallesh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2122 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2015-11-19 10:31:14 UTC

Description Adrian Likins 2015-07-30 22:04:15 UTC
Description of problem:
Go to "All Available Subscriptions" tab, click the date picker.

Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/gui/widgets.py", line 731, in _button_clicked
    self.get_parent())
TypeError: argument parent: Expected Gtk.Window, but got gi.overrides.Gtk.Box

And the date picker widget doesn't show up.

Comment 1 Adrian Likins 2015-07-30 22:15:27 UTC
pr at https://github.com/candlepin/subscription-manager/pull/1247

Comment 2 Chris "Ceiu" Rog 2015-07-31 20:03:44 UTC
commit 2f09e5c8889d6131b8df6ddc218c52091f69240a
Author: Adrian Likins <alikins>
Date:   Fri Jul 31 11:53:35 2015 -0400

    1248821: Add Gtk.Window to ga_gtk2.Gtk
    
    This was missing, and widgets.DatePicker uses and would
    fail on gtk2.

commit 236317388435418d273aae76b9226a60ab346858
Author: Adrian Likins <alikins>
Date:   Thu Jul 30 18:13:01 2015 -0400

    1248821: All subs date picker was failing.
    
    DatePicker is a subclass of HBox, so self.get_parent()
    doesn't make sense, so clicking on the date picker would
    throw an error:
    
    TypeError: argument parent: Expected Gtk.Window, but got
    gi.overrides.Gtk.Box

Comment 4 Shwetha Kallesh 2015-08-06 07:07:13 UTC
Created attachment 1059732 [details]
date-picker widget

Marking verified as date-picker widget opens
[root@dhcp35-236 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.26.11-1
subscription management rules: 5.12
subscription-manager: 1.15.9-3.el7
python-rhsm: 1.15.4-2.el7

Comment 5 errata-xmlrpc 2015-11-19 11:50:12 UTC
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-2015-2122.html


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