Bug 908712 - gnome-abrt fails in processing of dump directories from user's home
Summary: gnome-abrt fails in processing of dump directories from user's home
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f6443c8b5b5b444a0d4f4a86772...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-07 11:13 UTC by Martin
Modified: 2016-12-01 00:43 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-09 23:05:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.83 KB, text/plain)
2013-02-07 11:13 UTC, Martin
no flags Details
File: core_backtrace (868 bytes, text/plain)
2013-02-07 11:13 UTC, Martin
no flags Details
File: environ (1.96 KB, text/plain)
2013-02-07 11:13 UTC, Martin
no flags Details

Description Martin 2013-02-07 11:13:34 UTC
Version-Release number of selected component:
gnome-abrt-0.2.6-1.fc19

Additional info:
cmdline:        python /usr/bin/gnome-abrt
executable:     /usr/bin/gnome-abrt
kernel:         3.8.0-0.rc6.git2.1.fc19.x86_64
uid:            1000

Truncated backtrace:
directory_problems.py:130:__init__:TypeError: __new__() takes exactly 1 argument (4 given)

Traceback (most recent call last):
  File "/usr/bin/gnome-abrt", line 146, in <module>
    app = OopsApplication()
  File "/usr/bin/gnome-abrt", line 56, in __init__
    sources.append(gnome_abrt.DirectoryProblemSource(os.path.join(GLib.get_user_cache_dir(), "abrt/spool"), context=self.gcontext))
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/directory_problems.py", line 236, in __init__
    self._impl()
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/directory_problems.py", line 242, in _impl
    self._initialized = InitializedDirectoryProblemSource(self, self._directory, self._context)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/directory_problems.py", line 177, in __init__
    self._watcher = INOTIFYWatcher(self._parent, self.directory, context)
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/directory_problems.py", line 130, in __init__
    self._gsource = INOTIFYGlibSource(self._wm, self._directory, INOTIFYSourceHandler(self._source))
TypeError: __new__() takes exactly 1 argument (4 given)

Local variables in innermost frame:
directory: '/home/mholec/.cache/abrt/spool'
source: <gnome_abrt.directory_problems.DirectoryProblemSource object at 0x2e7d850>
self: <gnome_abrt.directory_problems.INOTIFYWatcher instance at 0x2e820e0>
context: <GMainContext at 0x2a276b0>

Comment 1 Martin 2013-02-07 11:13:37 UTC
Created attachment 694403 [details]
File: backtrace

Comment 2 Martin 2013-02-07 11:13:40 UTC
Created attachment 694404 [details]
File: core_backtrace

Comment 3 Martin 2013-02-07 11:13:43 UTC
Created attachment 694405 [details]
File: environ

Comment 4 Jakub Filak 2013-02-08 20:40:45 UTC
Fixed in git

commit f9db764fa201379f5b0688e08ef5693b6f18ce71
Author: Jakub Filak <jfilak>
Date:   Fri Feb 8 15:18:19 2013 -0500

    Override GLib.Source.__new__() function in INOTIFY handlers
    
    - gi.repository.GLib.Source class recently added own version of __new__()
      function
    
    - __new__() function is called with same arguments as child's __init__()
      if child doesn't provide own version of __new__() function
    
    - closes rhbz#908712
    
    Signed-off-by: Jakub Filak <jfilak>


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