Bug 868610 - [abrt] gnome-abrt-0.2-9.fc17: application.py:50:find_application:TypeError: 'NoneType' object has no attribute '__getitem__'
Summary: [abrt] gnome-abrt-0.2-9.fc17: application.py:50:find_application:TypeError: '...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6352ccfe0d14a88082a23c262b3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-21 06:38 UTC by nicolae
Modified: 2016-12-01 00:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-21 09:10:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: core_backtrace (816 bytes, text/plain)
2012-10-21 06:38 UTC, nicolae
no flags Details

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


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