abrt version: 2.0.5
reason: TypeError: iter must be a GtkTreeIter
time: Fri Sep 23 09:51:05 2011
firstboot-tb-Jhl_bF: Binary file, 705219 bytes
:The following was filed automatically by firstboot:
:firstboot 1.110.11 exception report
:Traceback (most recent call last):
: File "/usr/share/rhsm/subscription_manager/gui/subscription_assistant.py", line 554, in subscribe_button_clicked
: pool_id = model.get_value(tree_iter, self.subscriptions_store['pool_id'])
:TypeError: iter must be a GtkTreeIter
Created attachment 524621 [details]
I'm not exactly sure how I triggered this error.
The system has been previously subscribed. Then I unsubscribed and unregistered it and deleted redhat.repo.
After reboot into firstboot I selected to subscribe to Red Hat Employee subscription. Instead of subscribing in the list of available subscriptions appeared a second entry with the same name. Both entries were selected. When clicking on the subscribe button again I hit this error.
Here are more detailed steps to reproduce:
1) In firstboot register the system
2) Click on update certificate
3) Select product RHEL Workstation
4) Select subscription Red Hat Employee subscription
5) click Subscribe
6) there's a quick progress dialog after which the Subscribe button is not disabled.
7) Click again on Subscribe.
You hit the bug.
Can be reproduced outside of firstboot with just normal GUI usage.
- Update Certificates
- Select a product, and then a subscription to provide it below.
- Bind takes place, but Subscription button remains enabled. (at this point nothing is selected in the Subscriptions pane)
- Hit the button, error takes place.
Subscription button is probably just not getting disabled properly.
Author: Adrian Likins <email@example.com>
Date: Fri Sep 23 13:19:55 2011 -0400
740831: set subscribe button insensitive if nothing is selected
Subscribe was still sensitive with nothing to subscribe to
causing errors trying to find null TreeIter in the treeview
*** Bug 740748 has been marked as a duplicate of this bug. ***
The commit in comment 5 works. I've tested this in both the subscription assistant and in the "all subscriptions" tab. After subscribing the "Showing" state is removed from the button - making it greyed out and unclickable.
moving 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.