Bug 926010 - gnome-abrt abrt fails if invalid problem is selected
Summary: gnome-abrt abrt fails if invalid problem is selected
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:fdded173ba6ba489326935eda9c...
Depends On:
Blocks: 928769 928770
TreeView+ depends on / blocked
 
Reported: 2013-03-23 09:08 UTC by mussadek
Modified: 2016-12-01 00:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 928769 928770 (view as bug list)
Environment:
Last Closed: 2013-03-29 11:46:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.11 KB, text/plain)
2013-03-23 09:08 UTC, mussadek
no flags Details
File: core_backtrace (486 bytes, text/plain)
2013-03-23 09:08 UTC, mussadek
no flags Details
File: environ (1.47 KB, text/plain)
2013-03-23 09:08 UTC, mussadek
no flags Details

Description mussadek 2013-03-23 09:08:00 UTC
Version-Release number of selected component:
gnome-abrt-0.2.9-1.fc19

Additional info:
cmdline:        python /usr/bin/gnome-abrt
executable:     /usr/bin/gnome-abrt
kernel:         3.9.0-0.rc3.git0.4.fc19.x86_64
uid:            1000
ureports_counter: 1

Truncated backtrace:
dbus_problems.py:131:get_items:InvalidProblem: '/var/tmp/abrt/oops-2013-03-23-04:34:13-780-1' is not a valid problem directory

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 387, in on_gac_report_activate
    if selected and not selected['not-reportable']:
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 123, in __getitem__
    loaded = self.__loaditems__(item)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 104, in __loaditems__
    items = self.source.get_items(self.problem_id, *args)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 131, in get_items
    raise errors.InvalidProblem(e.message)
InvalidProblem: '/var/tmp/abrt/oops-2013-03-23-04:34:13-780-1' is not a valid problem directory

Local variables in innermost frame:
info: {}
self: <gnome_abrt.dbus_problems.DBusProblemSource object at 0x1d2b490>
args: ('not-reportable',)
e: DBusException("'/var/tmp/abrt/oops-2013-03-23-04:34:13-780-1' is not a valid problem directory",)
problem_id: '/var/tmp/abrt/oops-2013-03-23-04:34:13-780-1'

Comment 1 mussadek 2013-03-23 09:08:04 UTC
Created attachment 714994 [details]
File: backtrace

Comment 2 mussadek 2013-03-23 09:08:07 UTC
Created attachment 714995 [details]
File: core_backtrace

Comment 3 mussadek 2013-03-23 09:08:10 UTC
Created attachment 714996 [details]
File: environ

Comment 4 Jakub Filak 2013-03-25 17:59:12 UTC
Fixed in upstream:

commit 8f82638053a86defcdbd4dad4acac3fbd40e4ba1
Author: Jakub Filak <jfilak>
Date:   Mon Mar 25 16:26:41 2013 +0100

    Catch more exceptions and handle them correctly
    
    - closes rhbz#926010
    
    Signed-off-by: Jakub Filak <jfilak>
    Signed-off-by: Michal Toman <mtoman>


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