Bug 1178968

Summary: [abrt] system-config-printer-libs: newprinter.py:1147:nextNPTab:TypeError: Argument 1 does not allow None as a value
Product: [Fedora] Fedora Reporter: Mark Harfouche <mark.harfouche>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/70e3171faff2e74a27dda202c6631ede4569497a
Whiteboard: abrt_hash:eacac70caa36ac1d58dfd2dd544bcf39789cd3b6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-06 10:12:30 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 Mark Harfouche 2015-01-05 19:36:41 UTC
Description of problem:
I tried to add a printer automatically found. It froze at the screen where it searches for drivers.

For documentation purposes, the online CUPS interface localhost:631 worked like a charm.....

Version-Release number of selected component:
system-config-printer-libs-1.5.4-1.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/python3 /usr/share/system-config-printer/scp-dbus-service.py
executable:     /usr/share/system-config-printer/scp-dbus-service.py
kernel:         3.17.7-300.fc21.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
newprinter.py:1147:nextNPTab:TypeError: Argument 1 does not allow None as a value

Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 1563, in opreq_id_search_done
    self.nextNPTab ()
  File "/usr/share/system-config-printer/newprinter.py", line 1147, in nextNPTab
    driver = model.get_value (iter, 1)
TypeError: Argument 1 does not allow None as a value

Local variables in innermost frame:
model: <ListStore object at 0x7fa3f8035480 (GtkListStore at 0x158f720)>
page_nr: 7
self: <NewPrinterGUI object at 0x7fa3f9eab828 (newprinter+NewPrinterGUI at 0xafb3a0)>
iter: None
treeview: <TreeView object at 0x7fa3f9ef8ea0 (GtkTreeView at 0x1520790)>
step: 1

Comment 1 Mark Harfouche 2015-01-05 19:36:43 UTC
Created attachment 976552 [details]
File: backtrace

Comment 2 Mark Harfouche 2015-01-05 19:36:44 UTC
Created attachment 976553 [details]
File: environ

Comment 3 Tim Waugh 2015-01-06 10:12:30 UTC

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