Bug 912877

Summary: gnome-abrt fails if an action is performed and no problem is selected
Product: [Fedora] Fedora Reporter: Keiran Smith <affix>
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:4228b1bcdaf98889d6f41b69247851826f550eec
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 915324 (view as bug list) Environment:
Last Closed: 2013-03-19 20:05:04 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: 915324    
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ
none
File: smolt_data none

Description Keiran Smith 2013-02-19 21:51:59 UTC
Version-Release number of selected component:
gnome-abrt-0.2.6-1.fc18

Additional info:
cmdline:        python /usr/bin/gnome-abrt
executable:     /usr/bin/gnome-abrt
kernel:         3.7.6-201.fc18.x86_64
uid:            500

Truncated backtrace:
controller.py:55:_run_event_on_problem:AttributeError: 'NoneType' object has no attribute 'assure_ownership'

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 320, in on_gac_report_activate
    self._controller.report(self._get_selected(self.tvs_problems))
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/controller.py", line 40, in report
    self.run_event_fn("report-gui", problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/controller.py", line 52, in _first_event_run
    self.run_event_fn(event, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/controller.py", line 55, in _run_event_on_problem
    if problem.assure_ownership():
AttributeError: 'NoneType' object has no attribute 'assure_ownership'

Local variables in innermost frame:
problem: None
event: 'report-gui'
self: <gnome_abrt.controller.Controller object at 0x23c7b90>

Comment 1 Keiran Smith 2013-02-19 21:52:02 UTC
Created attachment 699691 [details]
File: backtrace

Comment 2 Keiran Smith 2013-02-19 21:52:04 UTC
Created attachment 699692 [details]
File: core_backtrace

Comment 3 Keiran Smith 2013-02-19 21:52:06 UTC
Created attachment 699693 [details]
File: environ

Comment 4 Keiran Smith 2013-02-19 21:52:08 UTC
Created attachment 699694 [details]
File: smolt_data

Comment 5 Jakub Filak 2013-02-20 09:48:16 UTC
Fixed in git

commit 69b64b8916dd0a299e73c3bf24dd874220e4f464
Author: Jakub Filak <jfilak>
Date:   Wed Feb 20 10:33:02 2013 +0100

    Check return value of the get selection function
    
    - closes rhbz#912877
    
    Signed-off-by: Jakub Filak <jfilak>

Comment 6 Fedora Update System 2013-02-26 11:36:14 UTC
gnome-abrt-0.2.8-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gnome-abrt-0.2.8-1.fc18

Comment 7 Fedora Update System 2013-02-27 02:36:52 UTC
Package gnome-abrt-0.2.8-1.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.8-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3111/gnome-abrt-0.2.8-1.fc18
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-03-19 20:05:06 UTC
gnome-abrt-0.2.8-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.