Bug 975705

Summary: [abrt] system-config-printer-1.4.1-6.fc19: Gtk.py:1114:__new__:TypeError: 'NoneType' object is not iterable
Product: [Fedora] Fedora Reporter: Emmanuel Pacaud <emmanuel.pacaud>
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: 19CC: cgubel, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e45c95d137a487219241a86dd1591171a424931c
Fixed In Version: system-config-printer-1.4.1-8.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 03:26:57 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:
Bug Depends On:    
Bug Blocks: 1203219    
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Emmanuel Pacaud 2013-06-19 07:49:28 UTC
Version-Release number of selected component:
system-config-printer-1.4.1-6.fc19

Additional info:
reporter:       libreport-2.1.5
cmdline:        /usr/bin/python /usr/share/system-config-printer/system-config-printer.py --debug
dso_list:       pygobject3-base-3.8.2-2.fc19.x86_64
executable:     /usr/share/system-config-printer/system-config-printer.py
kernel:         3.9.4-301.fc19.x86_64
runlevel:       N 5
uid:            14316

Truncated backtrace:
Gtk.py:1114:__new__:TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1289, in on_rename_activate
    iter = model.get_iter (path)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 789, in get_iter
    path = self._coerce_path(path)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 764, in _coerce_path
    return TreePath(path)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 1114, in __new__
    path = ":".join(str(val) for val in path)
TypeError: 'NoneType' object is not iterable

Local variables in innermost frame:
path: None
cls: <class 'gi.overrides.Gtk.TreePath'>

Comment 1 Emmanuel Pacaud 2013-06-19 07:49:33 UTC
Created attachment 762769 [details]
File: backtrace

Comment 2 Emmanuel Pacaud 2013-06-19 07:49:36 UTC
Created attachment 762770 [details]
File: core_backtrace

Comment 3 Emmanuel Pacaud 2013-06-19 07:49:39 UTC
Created attachment 762771 [details]
File: environ

Comment 4 Tim Waugh 2013-06-20 10:23:04 UTC
Should be fixed upstream in commit e1dff5b.

Comment 5 Fedora Update System 2013-07-02 12:55:27 UTC
system-config-printer-1.4.1-8.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/system-config-printer-1.4.1-8.fc19

Comment 6 Fedora Update System 2013-07-03 01:36:33 UTC
Package system-config-printer-1.4.1-8.fc19:
* should fix your issue,
* was pushed to the Fedora 19 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.4.1-8.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-12150/system-config-printer-1.4.1-8.fc19
then log in and leave karma (feedback).

Comment 7 Caio D. Gubel 2013-07-17 20:02:32 UTC
Description of problem:
Hi

I did an upgrade and out of thin air an error message appeared. I was not connected to any printer using the Linux machine (our TI does not support Linux and I am going to have to figure it out by myself!)

Version-Release number of selected component:
system-config-printer-1.4.1-7.fc19

Additional info:
reporter:       libreport-2.1.5
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.9.9-301.fc19.i686
runlevel:       N 5
uid:            1000

Truncated backtrace:
Gtk.py:1114:__new__:TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 3615, in on_tvNPDownloadableDrivers_cursor_changed
    iter = model.get_iter (path)
  File "/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py", line 789, in get_iter
    path = self._coerce_path(path)
  File "/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py", line 764, in _coerce_path
    return TreePath(path)
  File "/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py", line 1114, in __new__
    path = ":".join(str(val) for val in path)
TypeError: 'NoneType' object is not iterable

Local variables in innermost frame:
path: None
cls: <class 'gi.overrides.Gtk.TreePath'>

Comment 8 Fedora Update System 2013-07-24 03:26:57 UTC
system-config-printer-1.4.1-8.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.