Bug 868610

Summary: [abrt] gnome-abrt-0.2-9.fc17: application.py:50:find_application:TypeError: 'NoneType' object has no attribute '__getitem__'
Product: [Fedora] Fedora Reporter: nicolae <nicolae.b3>
Component: gnome-abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED CURRENTRELEASE 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:6352ccfe0d14a88082a23c262b3a0dc608b56397
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-21 09:10: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: core_backtrace none

Description nicolae 2012-10-21 06:38:03 UTC
Version-Release number of selected component:
gnome-abrt-0.2-9.fc17

Additional info:
libreport version: 2.0.14
abrt_version:   2.0.13
cmdline:        python /usr/bin/gnome-abrt
kernel:         3.6.2-4.fc17.x86_64

backtrace:
:application.py:50:find_application:TypeError: 'NoneType' object has no attribute '__getitem__'
:
:Traceback (most recent call last):
:  File "/usr/bin/gnome-abrt", line 60, in do_activate
:    self.window = gnome_abrt.OopsWindow(self, self.source, gnome_abrt.Controller(self.source))
:  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 108, in __init__
:    self._reload_problems(self._source)
:  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 175, in _reload_problems
:    self._add_problem_to_storage(p)
:  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 152, in _add_problem_to_storage
:    self.ls_problems.append(problem_to_storage_values(problem))
:  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 60, in problem_to_storage_values
:    app = problem.get_application()
:  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 145, in get_application
:    self['executable'])
:  File "/usr/lib64/python2.7/site-packages/gnome_abrt/application.py", line 50, in find_application
:    if dai.get_executable()[:ll] == lookup_exec:
:TypeError: 'NoneType' object has no attribute '__getitem__'
:
:Local variables in innermost frame:
:lookup_exec: u'PyChess.py'
:executable: dbus.String(u'/usr/lib/python2.7/site-packages/pychess/Players/PyChess.py')
:ll: 10
:component: dbus.String(u'pychess')
:dai: <DesktopAppInfo object at 0x1559640 (GDesktopAppInfo at 0x167cb60)>
:theme: <IconTheme object at 0x1549460 (GtkIconTheme at 0x15f71a0)>

Comment 1 nicolae 2012-10-21 06:38:07 UTC
Created attachment 630788 [details]
File: core_backtrace

Comment 2 Jakub Filak 2012-10-21 09:10:54 UTC
Fixed in gnome-abrt-0.2.3