Bug 1171469

Summary: [abrt] system-config-printer: system-config-printer.py:1772:on_set_as_default_activate:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Keith Rhodes <52keefs>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6957316b5bd065bf819803b86c3f222583215551
Whiteboard: abrt_hash:cd8e179416970f0ac56eba3a12c260dc5f800d21
Fixed In Version: system-config-printer-1.5.6-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-21 05:02:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Keith Rhodes 2014-12-07 13:02:17 UTC
Description of problem:
I was checking all the printer settings. Then hit print test page. Then it popped up.

Version-Release number of selected component:
system-config-printer-1.4.7-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.17.4-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
system-config-printer.py:1772:on_set_as_default_activate:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1772, in on_set_as_default_activate
    iter = model.get_iter (paths[0])
IndexError: list index out of range

Local variables in innermost frame:
UNUSED: (<Action object at 0x3018910 (GtkAction at 0x1b7ab90)>,)
paths: []
model: <ListStore object at 0x1ead9b0 (GtkListStore at 0x1ef4a30)>
iconview: <IconView object at 0x1862370 (GtkIconView at 0x1b04a70)>
self: <GUI object at 0x184cd20 (__main__+GUI at 0x1387020)>

Comment 1 Keith Rhodes 2014-12-07 13:02:25 UTC
Created attachment 965547 [details]
File: backtrace

Comment 2 Keith Rhodes 2014-12-07 13:02:27 UTC
Created attachment 965548 [details]
File: environ

Comment 3 Tim Waugh 2014-12-10 16:50:51 UTC
Not entirely sure how this happened, but it doesn't hurt to put in a check.
https://git.fedorahosted.org/cgit/system-config-printer.git/commit/?h=1.4.x&id=8ed3e602836d8e664ad9715b71e798b7df12394e

Comment 4 Fedora Update System 2015-03-17 17:35:28 UTC
system-config-printer-1.4.8-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/system-config-printer-1.4.8-1.fc20

Comment 5 Fedora Update System 2015-03-17 17:51:43 UTC
system-config-printer-1.5.6-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/system-config-printer-1.5.6-1.fc22

Comment 6 Fedora Update System 2015-03-17 17:53:30 UTC
system-config-printer-1.5.6-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/system-config-printer-1.5.6-1.fc21

Comment 7 Fedora Update System 2015-03-18 10:21:46 UTC
Package system-config-printer-1.5.6-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.5.6-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4027/system-config-printer-1.5.6-1.fc21
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-03-21 05:02:55 UTC
system-config-printer-1.5.6-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-04-26 12:47:20 UTC
system-config-printer-1.5.6-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.