View Issue Details

IDProjectCategoryView StatusLast Update
0015547CentOS-7gnome-tweak-toolpublic2019-02-18 07:23
ReporterMark Songhurst 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015547: [abrt] gnome-tweak-tool: tweak_group_xkb.py:167:__init__:TypeError: unbound method __init__() must be called with TweakGroup ...
DescriptionVersion-Release number of selected component:
gnome-tweak-tool-3.28.1-2.el7

Truncated backtrace:
tweak_group_xkb.py:167:__init__:TypeError: unbound method __init__() must be called with TweakGroup instance as first argument (got TypingTweakGroup instance instead)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_keymouse.py", line 245, in _on_browse_clicked
    box = TypingTweakGroup()
  File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py", line 167, in __init__
    TweakGroup.__init__(self, _("Typing"), *self._option_objects)
TypeError: unbound method __init__() must be called with TweakGroup instance as first argument (got TypingTweakGroup instance instead)

Local variables in innermost frame:
opt: 'altwin'
ok: True
self: <tweak_group_xkb.TypingTweakGroup object at 0x7f0a01f51a00 (gtweak+tweaks+tweak_group_xkb+TypingTweakGroup at 0x19ace20)>
obj: <tweak_group_xkb._XkbOption object at 0x7f09f137ef00 (gtweak+tweaks+tweak_group_xkb+_XkbOption at 0x203ba10)>
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/gnome-tweaks
executable: /usr/bin/gnome-tweaks
kernel: 3.10.0-957.1.3.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 1000
TagsNo tags attached.
abrt_hash22c626109e766e0a3c1d2d8a9cef8ae9cfa35be8
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/ddc4b388b733212c3f23d30fa508225dbefe290a

Activities

Mark Songhurst

Mark Songhurst

2018-12-07 04:18

reporter  

backtrace (947 bytes)
tweak_group_xkb.py:167:__init__:TypeError: unbound method __init__() must be called with TweakGroup instance as first argument (got TypingTweakGroup instance instead)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_keymouse.py", line 245, in _on_browse_clicked
    box = TypingTweakGroup()
  File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py", line 167, in __init__
    TweakGroup.__init__(self, _("Typing"), *self._option_objects)
TypeError: unbound method __init__() must be called with TweakGroup instance as first argument (got TypingTweakGroup instance instead)

Local variables in innermost frame:
opt: 'altwin'
ok: True
self: <tweak_group_xkb.TypingTweakGroup object at 0x7f0a01f51a00 (gtweak+tweaks+tweak_group_xkb+TypingTweakGroup at 0x19ace20)>
obj: <tweak_group_xkb._XkbOption object at 0x7f09f137ef00 (gtweak+tweaks+tweak_group_xkb+_XkbOption at 0x203ba10)>
backtrace (947 bytes)
environ (1,645 bytes)
GOPATH=/home/msonghurst/go
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GJS_DEBUG_OUTPUT=stderr
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_SESSION_TYPE=x11
QT_IM_MODULE=xim
LOGNAME=msonghurst
USER=msonghurst
HOME=/home/msonghurst
XDG_VTNR=1
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/var/lib/snapd/snap/bin:/home/msonghurst/.local/bin:/home/msonghurst/bin:/usr/local/go/bin
DISPLAY=:0
SSH_AGENT_PID=7013
LANG=en_GB.UTF-8
TERM=dumb
SHELL=/bin/bash
XAUTHORITY=/run/gdm/auth-for-msonghurst-84YOA6/database
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/6822,unix/unix:/tmp/.ICE-unix/6822
SHLVL=1
HISTSIZE=1000
WINDOWPATH=1
IMSETTINGS_INTEGRATE_DESKTOP=yes
GIO_LAUNCHED_DESKTOP_FILE_PID=21864
USERNAME=msonghurst
IMSETTINGS_MODULE=none
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/org.gnome.tweaks.desktop
XDG_RUNTIME_DIR=/run/user/1000
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
GDMSESSION=gnome-classic
XMODIFIERS=@im=none
GNOME_SHELL_SESSION_MODE=classic
XDG_MENU_PREFIX=gnome-
QT_GRAPHICSSYSTEM_CHECKED=1
XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME
XDG_SESSION_ID=1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-P80DfKHDon,guid=5f00b8c335947426445af91e5c08c185
DESKTOP_SESSION=gnome-classic
HOSTNAME=deimos.songhurst
GDM_LANG=en_GB.UTF-8
HISTCONTROL=ignoredups
XDG_DATA_DIRS=/home/msonghurst/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
PWD=/home/msonghurst
DESKTOP_STARTUP_ID=gnome-shell-7073-deimos.songhurst-gnome-tweaks-5_TIME2282294
MAIL=/var/spool/mail/msonghurst
XDG_SESSION_DESKTOP=gnome-classic
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
XDG_SEAT=seat0
environ (1,645 bytes)
machineid (135 bytes)
systemd=df61d464cd744c91b100192293494534
sosreport_uploader-dmidecode=f760d60e43b4fa7a457d82f0ab7263a649ff288d3dd07331649d9016a8ac9a1e
machineid (135 bytes)
benczet

benczet

2019-01-19 15:45

reporter   ~0033638

Another user experienced a similar problem:

Clicking on [Gnome Tweak/Keyboard & Mouse/Additional Layout Options] in order to delete the Alternativ Language Switch shortcut.

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/gnome-tweaks
executable: /usr/bin/gnome-tweaks
kernel: 3.10.0-957.1.3.el7.x86_64
package: gnome-tweak-tool-3.28.1-2.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: tweak_group_xkb.py:167:__init__:TypeError: unbound method __init__() must be called with TweakGroup instance as first argument (got TypingTweakGroup instance instead)
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 1000
bcowperthwaite

bcowperthwaite

2019-01-29 13:14

reporter   ~0033720

Another user experienced a similar problem:

Very nearly fresh CentOS installation (EPEL enabled, PuTTY installed),
start Gnome Tweaks, click "Keyboard & Mouse" -> "Additional Layout Options":
Additional Layout Options fails to load, crash detected.

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/gnome-tweaks
executable: /usr/bin/gnome-tweaks
kernel: 3.10.0-957.1.3.el7.x86_64
package: gnome-tweak-tool-3.28.1-2.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: tweak_group_xkb.py:167:__init__:TypeError: unbound method __init__() must be called with TweakGroup instance as first argument (got TypingTweakGroup instance instead)
reproducible: The problem is reproducible
runlevel: N 5
type: Python
uid: 1000
kireinahoro

kireinahoro

2019-02-01 10:11

reporter   ~0033754

Another user experienced a similar problem:

Proceed to Keyboard & Mouse menu on startup then select Additional layout options.

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/gnome-tweaks
executable: /usr/bin/gnome-tweaks
kernel: 3.10.0-957.el7.x86_64
package: gnome-tweak-tool-3.28.1-2.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: tweak_group_xkb.py:167:__init__:TypeError: unbound method __init__() must be called with TweakGroup instance as first argument (got TypingTweakGroup instance instead)
reproducible: The problem is reproducible
runlevel: N 5
type: Python
uid: 1000
benkonrath

benkonrath

2019-02-04 10:21

reporter   ~0033766

Another user experienced a similar problem:

* Open gnome tweak tool
* Try to start keybord tweaks editor

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/gnome-tweaks
executable: /usr/bin/gnome-tweaks
kernel: 3.10.0-693.21.1.el7.centos.plus.x86_64
package: gnome-tweak-tool-3.28.1-2.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: tweak_group_xkb.py:167:__init__:TypeError: unbound method __init__() must be called with TweakGroup instance as first argument (got TypingTweakGroup instance instead)
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 1000
shei

shei

2019-02-15 18:00

reporter   ~0033845

Maybe just a missing argument?

--- /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py 2019-02-15 12:46:27.000000000 -0500
+++ /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py- 2018-07-18 07:27:01.000000000 -0400
@@ -135,7 +135,7 @@
         elif active and not w._val in self._values and w._val:
             self._parent_settings.setting_add_to_list(TypingTweakGroup.XKB_GSETTINGS_NAME, w._val)
 
-class TypingTweakGroup(Gtk.Box, TweakGroup):
+class TypingTweakGroup(Gtk.Box):
 
     XKB_GSETTINGS_SCHEMA = "org.gnome.desktop.input-sources"
     XKB_GSETTINGS_NAME = "xkb-options"
nrdpxl

nrdpxl

2019-02-16 15:29

reporter   ~0033854

Another user experienced a similar problem:

I just cant start gnome-tweaks-tool. Tried to reinstall but still problem persists. By the way, it's a fresh install of Centos.

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/gnome-tweaks
executable: /usr/bin/gnome-tweaks
kernel: 3.10.0-957.5.1.el7.x86_64
package: gnome-tweak-tool-3.28.1-2.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: tweak_group_xkb.py:167:__init__:TypeError: unbound method __init__() must be called with TweakGroup instance as first argument (got TypingTweakGroup instance instead)
reproducible: The problem is reproducible
runlevel: N 5
type: Python
uid: 1000
ashsirtwds

ashsirtwds

2019-02-18 07:23

reporter   ~0033859

Another user experienced a similar problem:

update Centos
reset gnome-tweak-tools
after want change keyboard layout to ctrl+alt
press in gnome-tweak-tools - keyboard - Extra options and ....ooppsss

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/gnome-tweaks
executable: /usr/bin/gnome-tweaks
kernel: 3.10.0-957.5.1.el7.x86_64
package: gnome-tweak-tool-3.28.1-2.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: tweak_group_xkb.py:167:__init__:TypeError: unbound method __init__() must be called with TweakGroup instance as first argument (got TypingTweakGroup instance instead)
reproducible: The problem is reproducible
runlevel: N 5
type: Python
uid: 1000

Issue History

Date Modified Username Field Change
2018-12-07 04:18 Mark Songhurst New Issue
2018-12-07 04:18 Mark Songhurst File Added: backtrace
2018-12-07 04:18 Mark Songhurst File Added: environ
2018-12-07 04:18 Mark Songhurst File Added: machineid
2019-01-19 15:45 benczet Note Added: 0033638
2019-01-29 13:14 bcowperthwaite Note Added: 0033720
2019-02-01 10:11 kireinahoro Note Added: 0033754
2019-02-04 10:21 benkonrath Note Added: 0033766
2019-02-15 18:00 shei Note Added: 0033845
2019-02-16 15:29 nrdpxl Note Added: 0033854
2019-02-18 07:23 ashsirtwds Note Added: 0033859