Bug 911711 - [abrt] gnome-abrt-0.2.6-1.fc18: problems.py:278:get_problems:TypeError: 'NoneType' object is not iterable
Summary: [abrt] gnome-abrt-0.2.6-1.fc18: problems.py:278:get_problems:TypeError: 'None...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f5343532b6ce29983754e065858...
Depends On:
Blocks: 915325
TreeView+ depends on / blocked
 
Reported: 2013-02-15 17:37 UTC by Juan Carlos Carrero
Modified: 2016-12-01 00:43 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
: 915325 (view as bug list)
Environment:
Last Closed: 2013-03-19 20:04:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.57 KB, text/plain)
2013-02-15 17:37 UTC, Juan Carlos Carrero
no flags Details
File: core_backtrace (1.15 KB, text/plain)
2013-02-15 17:37 UTC, Juan Carlos Carrero
no flags Details
File: environ (1.66 KB, text/plain)
2013-02-15 17:38 UTC, Juan Carlos Carrero
no flags Details

Description Juan Carlos Carrero 2013-02-15 17:37:54 UTC
Description of problem:
solo se reporta al iniciar el sistema

Version-Release number of selected component:
gnome-abrt-0.2.6-1.fc18

Additional info:
cmdline:        python /usr/bin/gnome-abrt
executable:     /usr/bin/gnome-abrt
kernel:         3.7.7-201.fc18.x86_64
uid:            1000

Truncated backtrace:
problems.py:278:get_problems:TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/directory_problems.py", line 55, in check
    def check(self, *args):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/controller.py", line 49, in <lambda>
    signal.signal(signal.SIGCHLD, lambda signum, frame: self._handle_signal(signum))
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/controller.py", line 37, in _handle_signal
    self.source.refresh()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 266, in refresh
    self.notify()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 255, in notify
    super(MultipleSources, self).notify(change_type, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 60, in notify
    observer.changed(self, change_type, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 119, in changed
    self.wnd._reload_problems(source)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 215, in _reload_problems
    problems = source.get_problems()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 241, in get_problems
    result.extend(s.get_problems())
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 278, in get_problems
    for prblmid in self.impl_get_problems():
TypeError: 'NoneType' object is not iterable

Local variables in innermost frame:
self: <gnome_abrt.dbus_problems.DBusProblemSource object at 0x1f69b10>

Comment 1 Juan Carlos Carrero 2013-02-15 17:37:57 UTC
Created attachment 697901 [details]
File: backtrace

Comment 2 Juan Carlos Carrero 2013-02-15 17:37:58 UTC
Created attachment 697902 [details]
File: core_backtrace

Comment 3 Juan Carlos Carrero 2013-02-15 17:38:00 UTC
Created attachment 697903 [details]
File: environ

Comment 4 Jakub Filak 2013-02-18 10:39:36 UTC
Fixed in git

commit 6b1a56e37d99acb404e063ac79012615e66d6276
Author: Jakub Filak <jfilak>
Date:   Mon Feb 18 11:36:17 2013 +0100

    Return an empty list instead of None from get_problems() in case of DBus error
    
    - closes rhbz#911711
    
    Signed-off-by: Jakub Filak <jfilak>

Comment 5 Michael 2013-02-23 08:57:21 UTC
Description of problem:
i give a wrong "root" password. 

Version-Release number of selected component:
gnome-abrt-0.2.6-1.fc18

Additional info:
cmdline:        python /usr/bin/gnome-abrt
executable:     /usr/bin/gnome-abrt
kernel:         3.7.9-201.fc18.x86_64
uid:            1000

Truncated backtrace:
problems.py:278:get_problems:TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 327, in on_gac_opt_all_problems_activate
    conf['all_problems'] = self.chb_all_problems.get_active()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/config.py", line 49, in __setitem__
    map(lambda o: o.option_updated(self, option), opt.observers)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/config.py", line 49, in <lambda>
    map(lambda o: o.option_updated(self, option), opt.observers)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/dbus_problems.py", line 60, in option_updated
    self.source.refresh()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 290, in refresh
    self.notify()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 60, in notify
    observer.changed(self, change_type, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 227, in changed
    self.parent.notify(change_type, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 255, in notify
    super(MultipleSources, self).notify(change_type, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 60, in notify
    observer.changed(self, change_type, problem)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 119, in changed
    self.wnd._reload_problems(source)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 215, in _reload_problems
    problems = source.get_problems()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 241, in get_problems
    result.extend(s.get_problems())
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/problems.py", line 278, in get_problems
    for prblmid in self.impl_get_problems():
TypeError: 'NoneType' object is not iterable

Local variables in innermost frame:
self: <gnome_abrt.dbus_problems.DBusProblemSource object at 0x1c86ad0>

Comment 6 Fedora Update System 2013-02-26 11:36:08 UTC
gnome-abrt-0.2.8-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gnome-abrt-0.2.8-1.fc18

Comment 7 Fedora Update System 2013-02-27 02:36:42 UTC
Package gnome-abrt-0.2.8-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 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.8-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3111/gnome-abrt-0.2.8-1.fc18
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-03-19 20:04:57 UTC
gnome-abrt-0.2.8-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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