Bug#1066867: gnome-tweaks: Starting fails with TypeError

Danial Behzadi dani.behzi at ubuntu.com
Thu Mar 14 18:36:00 GMT 2024


Package: gnome-tweaks
Version: 46~beta-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: dani.behzi at ubuntu.com

Dear Maintainer,

GNOME Tweaks 46~beta-1 fails to start with error:

```
Traceback (most recent call last):
  File "/usr/bin/gnome-tweaks", line 99, in <module>
    from gtweak.app import GnomeTweaks
  File "/usr/lib/python3/dist-packages/gtweak/app.py", line 13, in <module>
    from gtweak.tweakview import Window
  File "/usr/lib/python3/dist-packages/gtweak/tweakview.py", line 20, in <module>
    from gtweak.tweaks.tweak_group_startup import TWEAK_GROUP as StartupApplicationTweaks
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_startup.py", line 347, in <module>
    TWEAK_GROUP = AutostartTweakGroup()
                  ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_startup.py", line 243, in __init__
    self._setup_startup_app_row()
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_startup.py", line 269, in _setup_startup_app_row
    app_row = _StartupAppRowTweak(dfile)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_startup.py", line 191, in __init__
    app_icon = Gtk.Image.new_from_icon_name("image-missing", Gtk.IconSize.LARGE)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
```

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

Kernel: Linux 6.6.15-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fa_IR.UTF-8, LC_CTYPE=fa_IR.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-4+b1
ii  gir1.2-adw-1                                 1.5~beta-1
ii  gir1.2-gdesktopenums-3.0                     46~beta-3
ii  gir1.2-glib-2.0                              1.78.1-15
ii  gir1.2-gnomedesktop-4.0                      44.0-2+b1
ii  gir1.2-gtk-4.0                               4.12.5+ds-3
ii  gir1.2-gudev-1.0                             238-3
ii  gir1.2-notify-0.7                            0.8.3-1
ii  gir1.2-pango-1.0                             1.52.0+ds-1
ii  gnome-settings-daemon                        46~beta-2
ii  gnome-shell-common                           44.9-1
ii  gsettings-desktop-schemas                    46~beta-3
ii  mutter-common                                44.8-3
ii  python3                                      3.11.6-1
ii  python3-gi                                   3.47.0-3
ii  user-session-migration                       0.4.1

gnome-tweaks recommends no packages.

Versions of packages gnome-tweaks suggests:
ii  gnome-shell-extension-prefs  44.9-1

-- no debconf information



More information about the pkg-gnome-maintainers mailing list