Bug 958237

Summary: [abrt] gnome-abrt-0.2.10-1.fc18: types.py:47:function:TypeError: Argument 1 does not allow None as a value
Product: [Fedora] Fedora Reporter: Sylvain Petreolle <spetreolle>
Component: gnome-abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jberan, jfilak
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:140d5d9a0219f714a9e48e8bbad8617db21c8484
Fixed In Version: gnome-abrt-0.2.12-2.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-16 02:55:36 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: core_backtrace
none
File: environ
none
File: smolt_data none

Description Sylvain Petreolle 2013-04-30 16:34:30 UTC
Description of problem:
To reproduce :
Open the abrt applet
Enter some text in the "Search" input box.
Check and un-check the "All problems" checkbox.

Version-Release number of selected component:
gnome-abrt-0.2.10-1.fc18

Additional info:
cmdline:        python /usr/bin/gnome-abrt -p /var/tmp/abrt/ccpp-2013-04-28-23:35:32-7659
dso_list:       pygobject3-base-3.4.2-6.fc18.x86_64
executable:     /usr/bin/gnome-abrt
kernel:         3.8.6-203.fc18.x86_64
uid:            500
ureports_counter: 6

Truncated backtrace:
types.py:47:function:TypeError: Argument 1 does not allow None as a value

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 453, in on_gac_opt_all_problems_activate
    conf['all_problems'] = self._builder.chb_all_problems.get_active()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/config.py", line 49, in __setitem__
    map(lambda o: o.option_updated(self, option), opt.observers)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/config.py", line 49, in <lambda>
    map(lambda o: o.option_updated(self, option), opt.observers)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 65, in option_updated
    self.source.refresh()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 307, in refresh
    self.notify()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 61, in notify
    observer.changed(self, change_type, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 244, in changed
    self.parent.notify(change_type, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 271, in notify
    super(MultipleSources, self).notify(change_type, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 61, in notify
    observer.changed(self, change_type, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 187, in changed
    self.wnd._reload_problems(source)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 288, in _reload_problems
    self._select_problem_iter(model.get_iter_first())
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 308, in _select_problem_iter
    path = self._builder.tv_problems.get_model().get_path(pit)
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 47, in function
    return info.invoke(*args, **kwargs)
TypeError: Argument 1 does not allow None as a value

Local variables in innermost frame:
info: <gi.FunctionInfo object (get_path) at 0x0x1e699e0>
args: (<TreeModelFilter object at 0x239c690 (GtkTreeModelFilter at 0x24ce0d0)>, None)
kwargs: {}

Comment 1 Sylvain Petreolle 2013-04-30 16:34:34 UTC
Created attachment 741918 [details]
File: backtrace

Comment 2 Sylvain Petreolle 2013-04-30 16:34:38 UTC
Created attachment 741919 [details]
File: core_backtrace

Comment 3 Sylvain Petreolle 2013-04-30 16:34:41 UTC
Created attachment 741920 [details]
File: environ

Comment 4 Sylvain Petreolle 2013-04-30 16:34:44 UTC
Created attachment 741921 [details]
File: smolt_data

Comment 5 Jakub Filak 2013-05-03 11:12:00 UTC
Thanks for the report!

Fixed in upstream git:

commit 5474762ae690b4c4412a91d52033904bb3e8a157
Author: Jakub Filak <jfilak>
Date:   Thu May 2 15:28:29 2013 +0200

    Don't try to select a problem if the list is empty
    
    Closes rhbz#958237
    
    Signed-off-by: Jakub Filak <jfilak>
    Signed-off-by: Jiri Moskovcak <jmoskovc>

Comment 6 Fedora Update System 2013-05-06 14:47:50 UTC
gnome-abrt-0.2.12-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gnome-abrt-0.2.12-2.fc18

Comment 7 Fedora Update System 2013-05-07 18:25:09 UTC
Package gnome-abrt-0.2.12-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-abrt-0.2.12-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7513/gnome-abrt-0.2.12-2.fc18
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-05-16 02:55:36 UTC
gnome-abrt-0.2.12-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.