Bug 912877 - gnome-abrt fails if an action is performed and no problem is selected
Summary: gnome-abrt fails if an action is performed and no problem is selected
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4228b1bcdaf98889d6f41b69247...
Depends On:
Blocks: 915324
TreeView+ depends on / blocked
 
Reported: 2013-02-19 21:51 UTC by Keiran Smith
Modified: 2016-12-01 00:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 915324 (view as bug list)
Environment:
Last Closed: 2013-03-19 20:05:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (925 bytes, text/plain)
2013-02-19 21:52 UTC, Keiran Smith
no flags Details
File: core_backtrace (497 bytes, text/plain)
2013-02-19 21:52 UTC, Keiran Smith
no flags Details
File: environ (1.84 KB, text/plain)
2013-02-19 21:52 UTC, Keiran Smith
no flags Details
File: smolt_data (3.08 KB, text/plain)
2013-02-19 21:52 UTC, Keiran Smith
no flags Details

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.


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