Bug 1010509

Summary: [abrt] gnome-tweak-tool-3.9.91-1.fc20: utils.py:308:__init__:TypeError: add_action() takes exactly 5 arguments (6 given)
Product: [Fedora] Fedora Reporter: Lawrenc Graves <lgraves95>
Component: gnome-tweak-toolAssignee: Mohamed El Morabity <pikachu.2014>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: askondro, barry, mfabian, pikachu.2014
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:45f228070329c10be9d18a12cf2a23102d86d346
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-13 22:09:11 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: backtrace
none
File: environ none

Description Lawrenc Graves 2013-09-20 23:16:39 UTC
Version-Release number of selected component:
gnome-tweak-tool-3.9.91-1.fc20

Additional info:
reporter:       libreport-2.1.7
cmdline:        python /usr/bin/gnome-tweak-tool
executable:     /usr/bin/gnome-tweak-tool
kernel:         3.11.1-300.fc20.x86_64
runlevel:       unknown
type:           Python
uid:            1000

Truncated backtrace:
utils.py:308:__init__:TypeError: add_action() takes exactly 5 arguments (6 given)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gtweak/widgets.py", line 178, in _on_changed_notify_logout
    self.notify_logout()
  File "/usr/lib/python2.7/site-packages/gtweak/tweakmodel.py", line 68, in notify_logout
    self._logoutnotification = LogoutNotification()
  File "/usr/lib/python2.7/site-packages/gtweak/utils.py", line 42, in getinstance
    instances[cls] = cls()
  File "/usr/lib/python2.7/site-packages/gtweak/utils.py", line 308, in __init__
    self._logout, None, None)
TypeError: add_action() takes exactly 5 arguments (6 given)

Local variables in innermost frame:
self: <gtweak.utils.LogoutNotification instance at 0x17d88c0>

Comment 1 Lawrenc Graves 2013-09-20 23:16:42 UTC
Created attachment 800800 [details]
File: backtrace

Comment 2 Lawrenc Graves 2013-09-20 23:16:44 UTC
Created attachment 800801 [details]
File: environ

Comment 3 Mike FABIAN 2013-09-26 16:46:34 UTC
This can be reproduced on Fedora 20 Alpha with gnome-tweak-tool-3.9.92-1.fc20.noarch

- start gnome-tweak-tool
- click “Keyboard and Mouse”
- move the switch “Show all Input Sources” (in either direction)

Comment 4 Barry Fishman 2013-10-10 13:41:33 UTC
This seems to be the same as bug 1015900 I filed for mailnag.

There seems to be an unconfirmed API change to Notify.Notification().add_action(...) removing its last argument.

If this is true, multiple applications would be effected,

Comment 5 Mohamed El Morabity 2013-10-13 22:09:11 UTC

*** This bug has been marked as a duplicate of bug 1009343 ***