[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
** Changed in: gnome-tweaks Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
This bug was fixed in the package gnome-tweaks - 46~beta-2 --- gnome-tweaks (46~beta-2) unstable; urgency=high * Cherry-pick proposed patch to fix crash on start with certain autostart files (LP: #2056657) (Closes: #1066867) -- Jeremy Bícha Thu, 14 Mar 2024 14:53:00 -0400 ** Changed in: gnome-tweaks (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
** Changed in: gnome-tweaks (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
** Changed in: gnome-tweaks Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
> gnome-tweaks Gtk-WARNING **: 21:03:38.385: Theme directory 48x48@2x/notifications of theme Deepin-4All has no size field Traceback (most recent call last): File "/usr/bin/gnome-tweaks", line 99, in from gtweak.app import GnomeTweaks File "/usr/lib/python3/dist-packages/gtweak/app.py", line 13, in from gtweak.tweakview import Window File "/usr/lib/python3/dist-packages/gtweak/tweakview.py", line 20, in 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 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
** Bug watch added: gitlab.gnome.org/GNOME/gnome-tweaks/-/issues #470 https://gitlab.gnome.org/GNOME/gnome-tweaks/-/issues/470 ** Also affects: gnome-tweaks via https://gitlab.gnome.org/GNOME/gnome-tweaks/-/issues/470 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
Checked this, adding the line fixes the issue, Tweaks now launches just fine. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
As a workaround to be able to start the Tweaks app, you can edit the telegram autostart desktop file and add an Icon line like this. It doesn't matter that the icon file probably doesn't even exist. Icon=telegram The Firefox .desktop file doesn't matter for this issue. ** Changed in: gnome-tweaks (Ubuntu) Status: New => Triaged ** Changed in: gnome-tweaks (Ubuntu) Importance: Medium => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
In autostart, I have exactly one file - Telegram, installed from https://flathub.org/apps/org.telegram.desktop: $ cat ~/.config/autostart/org.telegram.desktop.desktop [Desktop Entry] Type=Application Name=org.telegram.desktop Exec=flatpak run --command=telegram-desktop org.telegram.desktop -autostart X-Flatpak=org.telegram.desktop ~/.local/share/applications has one .desktop file without Icon= in it, honestly I am not sure where did it even come from: $ cat ~/.local/share/applications/userapp-Firefox-YMM3I2.desktop [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application NoDisplay=true Exec=/usr/lib/firefox/firefox-bin %u Name=Firefox Comment=Custom definition for Firefox -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
It sounds like you have a .desktop file in your ~/.config/autostart/ that does not have an icon associated. (That is a hidden folder). Are you willing to post that file? A copy might also be in ~/.local/share/applications/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
** Description changed: - gnome-tweaks got updated to 46-beta which shows this error. + gnome-tweaks got updated to 46-beta which shows this error + May it depend on some new GTK version which is not yet released for 24.04? ProblemType: Crash DistroRelease: Ubuntu 24.04 Package: gnome-tweaks 46~beta-1 ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4 Uname: Linux 6.8.0-11-generic x86_64 ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Sun Mar 10 02:48:50 2024 ExecutablePath: /usr/bin/gnome-tweaks InstallationDate: Installed on 2024-02-14 (25 days ago) InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240212) InterpreterPath: /usr/bin/python3.12 PackageArchitecture: all ProcCmdline: /usr/bin/python3 /usr/bin/gnome-tweaks ProcEnviron: - LANG=en_US.UTF-8 - PATH=(custom, no user) - SHELL=/bin/bash - XDG_RUNTIME_DIR= + LANG=en_US.UTF-8 + PATH=(custom, no user) + SHELL=/bin/bash + XDG_RUNTIME_DIR= Python3Details: /usr/bin/python3.12, Python 3.12.2, python3-minimal, 3.12.1-0ubuntu2 PythonArgs: ['/usr/bin/gnome-tweaks'] PythonDetails: N/A SourcePackage: gnome-tweaks Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip docker lpadmin plugdev sudo users ** Description changed: - gnome-tweaks got updated to 46-beta which shows this error + gnome-tweaks crashes on launch after updating to 46-beta May it depend on some new GTK version which is not yet released for 24.04? ProblemType: Crash DistroRelease: Ubuntu 24.04 Package: gnome-tweaks 46~beta-1 ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4 Uname: Linux 6.8.0-11-generic x86_64 ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Sun Mar 10 02:48:50 2024 ExecutablePath: /usr/bin/gnome-tweaks InstallationDate: Installed on 2024-02-14 (25 days ago) InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240212) InterpreterPath: /usr/bin/python3.12 PackageArchitecture: all ProcCmdline: /usr/bin/python3 /usr/bin/gnome-tweaks ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash XDG_RUNTIME_DIR= Python3Details: /usr/bin/python3.12, Python 3.12.2, python3-minimal, 3.12.1-0ubuntu2 PythonArgs: ['/usr/bin/gnome-tweaks'] PythonDetails: N/A SourcePackage: gnome-tweaks Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip docker lpadmin plugdev sudo users -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2056657] Re: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given)
** Tags removed: need-duplicate-check ** Changed in: gnome-tweaks (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056657 Title: gnome-tweaks crashed with TypeError in __init__(): Gtk.Image.new_from_icon_name() takes exactly 1 argument (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-tweaks/+bug/2056657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs