Bug 956914

Summary: [abrt] gnome-abrt-0.2.11-1.fc17: dbus_problems.py:157:get_items:InvalidProblem: '/var/spool/abrt/oops-2013-04-25-17:22:57-3218-4' is not a valid problem directory
Product: [Fedora] Fedora Reporter: Lanny Bland <blanlan>
Component: gnome-abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: jberan, jfilak
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0295223dc9fc04fba667a4bf577974d76cb4bd66
Fixed In Version: gnome-abrt-0.2.12-2.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-16 02:52:54 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

Description Lanny Bland 2013-04-26 00:43:38 UTC
Version-Release number of selected component:
gnome-abrt-0.2.11-1.fc17

Additional info:
cmdline:        python /usr/bin/gnome-abrt
executable:     /usr/bin/gnome-abrt
kernel:         3.8.8-101.vanilla.stable.knurd.1.fc17.x86_64
runlevel:       N 5
uid:            1000
ureports_counter: 1

Truncated backtrace:
dbus_problems.py:157:get_items:InvalidProblem: '/var/spool/abrt/oops-2013-04-25-17:22:57-3218-4' is not a valid problem directory

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 91, in time_sort_func
    lhs = model[first][2]['date_last'].timetuple()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 117, in __getitem__
    last_ocr = self['last_occurrence']
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 132, in __getitem__
    loaded = self.__loaditems__(item)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 107, in __loaditems__
    items = self.source.get_items(self.problem_id, *args)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 157, in get_items
    raise errors.InvalidProblem(problem_id, ex.message)
InvalidProblem: '/var/spool/abrt/oops-2013-04-25-17:22:57-3218-4' is not a valid problem directory

Local variables in innermost frame:
info: {}
self: <gnome_abrt.dbus_problems.DBusProblemSource object at 0x1b09190>
args: ('last_occurrence',)
ex: DBusException("'/var/spool/abrt/oops-2013-04-25-17:22:57-3218-4' is not a valid problem directory",)
problem_id: '/var/spool/abrt/oops-2013-04-25-17:22:57-3218-4'

Comment 1 Lanny Bland 2013-04-26 00:43:40 UTC
Created attachment 740157 [details]
File: backtrace

Comment 2 Lanny Bland 2013-04-26 00:43:42 UTC
Created attachment 740158 [details]
File: core_backtrace

Comment 3 Lanny Bland 2013-04-26 00:43:43 UTC
Created attachment 740159 [details]
File: environ

Comment 4 Jakub Filak 2013-05-03 11:11:07 UTC
Thanks for the report!

Fixed in upstream git:

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

    Catch InvalidProblem exception in sort function
    
    Closes rhbz#956914
    
    Signed-off-by: Jakub Filak <jfilak>
    Signed-off-by: Jiri Moskovcak <jmoskovc>

Comment 5 Fedora Update System 2013-05-06 14:43:54 UTC
gnome-abrt-0.2.12-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/gnome-abrt-0.2.12-2.fc17

Comment 6 Fedora Update System 2013-05-07 18:22:55 UTC
Package gnome-abrt-0.2.12-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7504/gnome-abrt-0.2.12-2.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-05-16 02:52:54 UTC
gnome-abrt-0.2.12-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.