Bug 1009189

Summary: [abrt] gnome-abrt-0.3.1-1.fc20: views.py:51:match_pattern:TypeError: argument of type 'NoneType' is not iterable
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: gnome-abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jberan, jfilak
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:7c2f4f3e2592e0399813f25992e5458e418fd484
Fixed In Version: gnome-abrt-0.3.2-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-13 19:49:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Adam Williamson 2013-09-17 23:17:30 UTC
Description of problem:
Tried to run gnome-abrt...

Version-Release number of selected component:
gnome-abrt-0.3.1-1.fc20

Additional info:
reporter:       libreport-2.1.7
cmdline:        /usr/bin/python /usr/bin/gnome-abrt
executable:     /usr/bin/gnome-abrt
kernel:         3.12.0-0.rc0.git26.2.fc21.x86_64
runlevel:       N N
type:           Python
uid:            1001

Truncated backtrace:
views.py:51:match_pattern:TypeError: argument of type 'NoneType' is not iterable

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 59, in problems_filter
    return match_pattern(pattern, model[itrtr][2])
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 51, in match_pattern
    or pattern in problem['application'].name
TypeError: argument of type 'NoneType' is not iterable

Local variables in innermost frame:
item_match: <function item_match at 0x2a745f0>
problem: <gnome_abrt.problems.Problem object at 0x2f7a350>
pattern: 'ev'

Comment 1 Adam Williamson 2013-09-17 23:17:33 UTC
Created attachment 798987 [details]
File: backtrace

Comment 2 Adam Williamson 2013-09-17 23:17:36 UTC
Created attachment 798988 [details]
File: environ

Comment 3 Jakub Filak 2013-09-18 07:01:56 UTC
Thank you for the report! I've created a pull request for a commit which is supposed to fix this particular bug:

https://github.com/abrt/gnome-abrt/pull/31

Comment 4 Jakub Filak 2013-09-18 10:54:33 UTC
upstream commit 1e7e9de4b89cba8c342a3e0cb69767e1a03fa52f fixes this bug

Comment 5 Fedora Update System 2013-10-11 10:42:50 UTC
gnome-abrt-0.3.2-1.fc20,abrt-2.1.8-1.fc20,libreport-2.1.8-1.fc20,satyr-0.10-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/gnome-abrt-0.3.2-1.fc20,abrt-2.1.8-1.fc20,libreport-2.1.8-1.fc20,satyr-0.10-1.fc20

Comment 6 Fedora Update System 2013-10-11 16:50:25 UTC
Package gnome-abrt-0.3.2-1.fc20, abrt-2.1.8-1.fc20, libreport-2.1.8-1.fc20, satyr-0.10-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 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.3.2-1.fc20 abrt-2.1.8-1.fc20 libreport-2.1.8-1.fc20 satyr-0.10-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18868/gnome-abrt-0.3.2-1.fc20,abrt-2.1.8-1.fc20,libreport-2.1.8-1.fc20,satyr-0.10-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-10-13 19:49:19 UTC
gnome-abrt-0.3.2-1.fc20, abrt-2.1.8-1.fc20, libreport-2.1.8-1.fc20, satyr-0.10-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.