Bug 1186475 - [abrt] system-config-printer: newprinter.py:2971:on_tvNPDeviceURIs_cursor_changed:IndexError: list index out of range
Summary: [abrt] system-config-printer: newprinter.py:2971:on_tvNPDeviceURIs_cursor_cha...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:8499014163f04d662a4f402d373...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-27 18:19 UTC by Leon
Modified: 2015-04-26 12:47 UTC (History)
2 users (show)

Fixed In Version: system-config-printer-1.5.6-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-21 05:03:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (808 bytes, text/plain)
2015-01-27 18:19 UTC, Leon
no flags Details
File: environ (1.79 KB, text/plain)
2015-01-27 18:19 UTC, Leon
no flags Details

Description Leon 2015-01-27 18:19:06 UTC
Description of problem:
Tried to install an Epson TM-T20 Slip Printer

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
dso_list:       system-config-printer-libs-1.4.7-1.fc20.noarch
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.17.7-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
newprinter.py:2971:on_tvNPDeviceURIs_cursor_changed:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 2971, in on_tvNPDeviceURIs_cursor_changed
    options = device.uri.split("?")[1]
IndexError: list index out of range

Local variables in innermost frame:
widget: <TreeView object at 0x26ceaa0 (GtkTreeView at 0x2bb33e0)>
url: u'/dev/ttyUSB0'
self: <NewPrinterGUI object at 0x26ce5f0 (newprinter+NewPrinterGUI at 0x2b48620)>
iter: <GtkTreeIter at 0x3891e60>
column: <TreeViewColumn object at 0x2a51780 (GtkTreeViewColumn at 0x2c2e690)>
location: ''
device: <cupshelpers.Device "serial:/dev/ttyUSB0">
path: <GtkTreePath at 0x2ff6c20>
model: <ListStore object at 0x2a51b40 (GtkListStore at 0x2cf1c80)>
type: u'serial'
page: 5

Comment 1 Leon 2015-01-27 18:19:12 UTC
Created attachment 984811 [details]
File: backtrace

Comment 2 Leon 2015-01-27 18:19:15 UTC
Created attachment 984812 [details]
File: environ

Comment 3 Tim Waugh 2015-01-29 10:49:24 UTC
What does su -c '/sbin/lpinfo -l -v' say?

Comment 4 Fedora Update System 2015-03-17 17:35:33 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:47 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:37 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:54 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:03:00 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:31 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.


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