Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1017792: gnome-tweaks: Does not launch: unknown setting: font-hinting

40 views
Skip to first unread message

Mikolaj Kuranowski

unread,
Aug 20, 2022, 12:10:03 PM8/20/22
to
Package: gnome-tweaks
Version: 42~beta-1
Severity: important
X-Debbugs-Cc: mkuranowski...@gmail.com

It is not possible to launch the tool - it immediately crashes with the
following traceback:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gtweak/app.py", line 50, in do_activate
self.win = Window(self, model)
File "/usr/lib/python3/dist-packages/gtweak/tweakview.py", line 58, in
__init__
self._model.load_tweaks(self)
File "/usr/lib/python3/dist-packages/gtweak/tweakmodel.py", line 107, in
load_tweaks
mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_font.py", line
113, in <module>
FontXSettingsTweak(),
File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_font.py", line
41, in __init__
self.btn_full.set_active(self.settings["font-hinting"] == "full")
File "/usr/lib/python3/dist-packages/gi/overrides/Gio.py", line 259, in
__getitem__
raise KeyError('unknown key: %r' % (key,))
KeyError: "unknown key: 'font-hinting'"


-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-4-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-tweaks depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-3
ii gir1.2-glib-2.0 1.72.0-1+b1
ii gir1.2-gnomedesktop-3.0 42.3-1
ii gir1.2-gtk-3.0 3.24.34-1
ii gir1.2-handy-1 1.7.90-1
ii gir1.2-notify-0.7 0.8.1-1
ii gir1.2-pango-1.0 1.50.9+ds-1
ii gir1.2-soup-2.4 2.74.2-3
ii gnome-settings-daemon 3.38.2-1
ii gnome-shell-common 3.38.6-1~deb11u1
ii gnome-shell-extension-prefs 3.38.6-1~deb11u1
ii gsettings-desktop-schemas 3.38.0-2
ii mutter-common 42.3-2
ii python3 3.10.5-3
ii python3-gi 3.42.2-1

gnome-tweaks recommends no packages.

gnome-tweaks suggests no packages.

-- no debconf information

Jeremy Bicha

unread,
Aug 20, 2022, 1:00:04 PM8/20/22
to
On Sat, Aug 20, 2022 at 12:03 PM Mikolaj Kuranowski
<mkuranowski...@gmail.com> wrote:
> -- System Information:
> Debian Release: bookworm/sid
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Versions of packages gnome-tweaks depends on:
> ii dconf-gsettings-backend [gsettings-backend] 0.40.0-3
> ii gir1.2-glib-2.0 1.72.0-1+b1
> ii gir1.2-gnomedesktop-3.0 42.3-1
> ii gir1.2-gtk-3.0 3.24.34-1
> ii gir1.2-handy-1 1.7.90-1
> ii gir1.2-notify-0.7 0.8.1-1
> ii gir1.2-pango-1.0 1.50.9+ds-1
> ii gir1.2-soup-2.4 2.74.2-3
> ii gnome-settings-daemon 3.38.2-1
> ii gnome-shell-common 3.38.6-1~deb11u1
> ii gnome-shell-extension-prefs 3.38.6-1~deb11u1
> ii gsettings-desktop-schemas 3.38.0-2

Please update your gsettings-desktop-schemas to 42.0-1 (or higher).

You're likely to hit more of these kinds of bugs if you don't
regularly install all available updates. It is a valid bug but most
people won't see it and it's impossible for developers to test every
arbitrary combination of package versions.

It looks like you still have a lot of Debian 11 packages installed
(gnome-shell, gnome-settings-daemon ,etc.) instead of the current
Testing versions.

Thank you,
Jeremy Bicha
0 new messages