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

    From Danial Behzadi@21:1/5 to All on Thu Mar 14 19:40:01 2024
    Package: gnome-tweaks
    Version: 46~beta-1
    Severity: grave
    Justification: renders package unusable
    X-Debbugs-Cc: dani.behzi@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 14 20:10:01 2024
    This is a multi-part message in MIME format...

    Your message dated Thu, 14 Mar 2024 19:04:53 +0000
    with message-id <E1rkqNp-00DI1j-Mi@fasolo.debian.org>
    and subject line Bug#1066867: fixed in gnome-tweaks 46~beta-2
    has caused the Debian Bug report #1066867,
    regarding gnome-tweaks: Starting fails with TypeError
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1066867: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066867
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 14 Mar 2024 18:36:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-11.8 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,FOURLA,HAS_PACKAGE,RCVD_IN_PBL,RDNS_NONE,
    SPF_PASS,T_SCC_BODY_TEXT_LINE,XMAILER_REPORTBUG autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 55; hammy, 150; neutral, 110; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--X-Debbugs-Cc,
    0.000-+--XDebbugsCc, 0.000-+--trixie, 0.000-+--H*F:D*ubuntu.com Return-path: <dani.behzi@ubuntu.com>
    Received: from [178.131.187.117] (port=17392 helo=[192.168.1.144])
    by buxtehude.debian.org with esmtp (Exim 4.94.2)
    (envelope-from <dani.behzi@ubuntu.com>)
    id 1rkpvv-0