View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015547 | CentOS-7 | gnome-tweak-tool | public | 2018-12-07 04:18 | 2019-03-20 10:19 |
Reporter | Mark Songhurst | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | 7 | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0015547: [abrt] gnome-tweak-tool: tweak_group_xkb.py:167:__init__:TypeError: unbound method __init__() must be called with TweakGroup ... | ||||
Description | Version-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 Information | 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 pkg_fingerprint: 24C6 A8A7 F4A8 0EB5 pkg_vendor: CentOS reproducible: Not sure how to reproduce the problem runlevel: N 5 type: Python uid: 1000 | ||||
Tags | No tags attached. | ||||
abrt_hash | 22c626109e766e0a3c1d2d8a9cef8ae9cfa35be8 | ||||
URL | https://retrace.fedoraproject.org/faf/reports/bthash/ddc4b388b733212c3f23d30fa508225dbefe290a | ||||
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)>
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
machineid (135 bytes)
systemd=df61d464cd744c91b100192293494534 sosreport_uploader-dmidecode=f760d60e43b4fa7a457d82f0ab7263a649ff288d3dd07331649d9016a8ac9a1e |
|
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 |
|
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 |
|
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 |
|
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 |
|
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" |
|
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 |
|
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 |
|
I was able to install remove current and install previous version gnome-tweak-tool-3.22.0-1.el7.noarch.rpm, (from CentOS 1804) If you need to change layout/swap keys - you can do it this way. | |
I believe that the patch I posted earlier should have fixed the problem: --- /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py.orig 2018-07-18 07:27:01.000000000 -0400 +++ /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py 2019-02-15 12:46:27.035886279 -0500 @@ -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): +class TypingTweakGroup(Gtk.Box, TweakGroup): XKB_GSETTINGS_SCHEMA = "org.gnome.desktop.input-sources" XKB_GSETTINGS_NAME = "xkb-options" |
|
Another user experienced a similar problem: I just clicked on the "additional options available" button in the "mouse and window" tab of the "settings" application 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: Not sure how to reproduce the problem runlevel: N 5 type: Python uid: 1000 |
|
Another user experienced a similar problem: 1. Open Gnome Tweaks 2. Navigate to Keyboad&Mouse 3. Click 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.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: Not sure how to reproduce the problem runlevel: N 5 type: Python uid: 1000 |
|
Another user experienced a similar problem: go into the Gnome-Tweaks app > Keyboard & Mouse, and press 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.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: Not sure how to reproduce the problem runlevel: N 5 type: Python uid: 1000 |
|
fixed in gnome-tweak-tool-3.28.1-2.el7.2.noarch.rpm released yesterday | |
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 | |
2019-02-19 23:00 | nrdpxl | Note Added: 0033868 | |
2019-02-19 23:07 | shei | Note Added: 0033869 | |
2019-03-03 07:47 | Maurizio Ferreira | Note Added: 0033931 | |
2019-03-07 13:05 | ddobre | Note Added: 0033957 | |
2019-03-10 16:16 | jdarthur | Note Added: 0033969 | |
2019-03-20 10:19 | pgreco | Status | new => resolved |
2019-03-20 10:19 | pgreco | Resolution | open => fixed |
2019-03-20 10:19 | pgreco | Note Added: 0034051 |