Description of problem: error error error Version-Release number of selected component: gnome-tweaks-46~beta-1.fc40 Additional info: reporter: libreport-2.17.14 kernel: 6.8.0-0.rc5.41.fc40.x86_64 cmdline: /usr/bin/python3 /usr/bin/gnome-tweaks cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Software-2448.scope uid: 1000 reason: widgets.py:525:__init__:TypeError: No means to translate argument or return value for 'GtkPropertyExpression' executable: /usr/bin/gnome-tweaks type: Python3 package: gnome-tweaks-46~beta-1.fc40 runlevel: N 5 exception_type: TypeError crash_function: __init__ interpreter: python3-3.12.2-1.fc40.x86_64 comment: error error error Truncated backtrace: widgets.py:525:__init__:TypeError: No means to translate argument or return value for 'GtkPropertyExpression' Traceback (most recent call last): File "/usr/bin/gnome-tweaks", line 75, in <module> from gtweak.app import GnomeTweaks File "/usr/lib/python3.12/site-packages/gtweak/app.py", line 13, in <module> from gtweak.tweakview import Window File "/usr/lib/python3.12/site-packages/gtweak/tweakview.py", line 14, in <module> from gtweak.tweaks.tweak_group_appearance import TWEAK_GROUP as AppearanceTweaks File "/usr/lib/python3.12/site-packages/gtweak/tweaks/tweak_group_appearance.py", line 236, in <module> CursorThemeSwitcher(), ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/gtweak/tweaks/tweak_group_appearance.py", line 83, in __init__ GSettingsTweakComboRow.__init__(self, File "/usr/lib/python3.12/site-packages/gtweak/widgets.py", line 525, in __init__ self.set_expression(Gtk.PropertyExpression.new(TweakListStoreItem, None, "title")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: No means to translate argument or return value for 'GtkPropertyExpression' Local variables in innermost frame: self: <tweak_group_appearance.CursorThemeSwitcher object at 0x7fca400eaf00 (gtweak+tweaks+tweak_group_appearance+CursorThemeSwitcher at 0x558e4b6e6980)> title: 'Cursor' schema_name: 'org.gnome.desktop.interface' key_name: 'cursor-theme' key_options: [('Adwaita', 'Adwaita (default)')] schema_id: None subtitle: None options: {}
Created attachment 2019003 [details] File: os_info
Created attachment 2019004 [details] File: environ
Created attachment 2019005 [details] File: mountinfo
Created attachment 2019006 [details] File: open_fds
Created attachment 2019007 [details] File: namespaces
Created attachment 2019008 [details] File: backtrace
Created attachment 2019009 [details] File: cpuinfo
This is happening because Tweaks has an undeclared dependency on pygobject 3.47+, which isn't packaged in F40. https://gitlab.gnome.org/GNOME/gnome-tweaks/-/issues/461
(In reply to Chris Williams from comment #8) > This is happening because Tweaks has an undeclared dependency on pygobject > 3.47+, which isn't packaged in F40. > > https://gitlab.gnome.org/GNOME/gnome-tweaks/-/issues/461 Thanks
I'm confused - Bodhi shows many pygobject3 builds going back years, but the package is not available for install, either on F39 or F40. The most recent build is pygobject3-3.46.0-4.fc40.
Sorry, I accidentally hit the "minor update" box when posting the above comment, so email was not sent. > I'm confused - Bodhi shows many pygobject3 builds going back years, but the package is not available for install, either on F39 or F40. The most recent build is pygobject3-3.46.0-4.fc40.
(In reply to Andre Robatino from comment #10) > I'm confused - Bodhi shows many pygobject3 builds going back years, but the > package is not available for install, either on F39 or F40. The most recent > build is pygobject3-3.46.0-4.fc40. The binary package is python3-gobject. The Fedora gnome-tweaks package already depends on it, but 3.46 is too old. It's possible that Tweaks will need to stop using that feature for this cycle. I don't have hard confirmation that there will be a pygobject 3.48 stable release in time for F40, only 'hopefully'.
1. Install gnome-tweaks using dnf 2. Try to run gnome-tweaks 3. gnome-tweaks immediately crashes reporter: libreport-2.17.15 exception_type: TypeError uid: 1000 package: gnome-tweaks-46~beta-1.fc40 cmdline: /usr/bin/python3 /usr/bin/gnome-tweaks crash_function: __init__ executable: /usr/bin/gnome-tweaks reason: widgets.py:525:__init__:TypeError: No means to translate argument or return value for 'GtkPropertyExpression' kernel: 6.8.0-0.rc6.49.fc40.x86_64 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.tweaks-3822.scope type: Python3 interpreter: python3-3.12.2-2.fc40.x86_64 runlevel: N 5
yeah, can confirm here too. I guess we either backport whatever tweaks needs from 3.47 or patch the bit of tweaks that needs it out? meh. i'll have a look tomorrow.
Proposed as a Freeze Exception for 40-beta by Fedora user tflink using the blocker tracking app because: while not part of any default installs, gnome-tweaks is a tool which is commonly used to change default values for fonts, window behviors etc. for GNOME. Having it crash immediately upon opening post-install makes for a frustrating post-install experience
Ugh. This looks kinda intractable. pygobject 3.47/3.48 is a big change from 3.46, and the change to gnome-tweaks is also a big one and part of a bigger series. It cannot really be cleanly reverted, I don't think. bumping pygobject to a pre-release now does not feel like a good idea. We could try downgrading gnome-tweaks to the previous release, but that also doesn't feel like a *great* resolution. I'm not sure if it's possible to finesse the use of Gtk.PropertyExpression such that we can make the current gnome-tweaks work with the older pygobject...I'd have to look into what those expressions are doing exactly, and if there's any alternative...
(In reply to Adam Williamson from comment #16) > Ugh. This looks kinda intractable. pygobject 3.47/3.48 is a big change from > 3.46, and the change to gnome-tweaks is also a big one and part of a bigger > series. It cannot really be cleanly reverted, I don't think. > > bumping pygobject to a pre-release now does not feel like a good idea. We > could try downgrading gnome-tweaks to the previous release, but that also > doesn't feel like a *great* resolution. I'm not sure if it's possible to > finesse the use of Gtk.PropertyExpression such that we can make the current > gnome-tweaks work with the older pygobject...I'd have to look into what > those expressions are doing exactly, and if there's any alternative... I've just submitted an MR upstream to avoid Gtk.PropertyExpression: https://gitlab.gnome.org/GNOME/gnome-tweaks/-/merge_requests/133
nice! let's try it.
FEDORA-2024-c9005ede03 (gnome-tweaks-46~beta-2.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-c9005ede03
Tested the fix locally and it works, thanks a lot. Sent an update.
installed the rawhide build from koji and that fixes the issue for me as well.
FEDORA-2024-c9005ede03 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c9005ede03` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c9005ede03 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
There was a problem after upgrading Fedora 40. reporter: libreport-2.17.15 kernel: 6.8.0-0.rc6.49.fc40.x86_64 cmdline: /usr/bin/python3 /usr/bin/gnome-tweaks cgroup: 0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Software uid: 1000 reason: widgets.py:525:__init__:TypeError: No means to translate argument or return value for 'GtkPropertyExpression' executable: /usr/bin/gnome-tweaks type: Python3 package: gnome-tweaks-46~beta-1.fc40 runlevel: N 5 exception_type: TypeError crash_function: __init__ interpreter: python3-3.12.2-2.fc40.x86_64 comment: There was a problem after upgrading Fedora 40.
pygobject 3.48.0 was just released upstream. Is it possible to package it for Fedora 40 and let the gnome-tweaks upstream maintainer know that it is ok to use pygobject 3.48.0 features?
-3 in https://pagure.io/fedora-qa/blocker-review/issue/1494 , marking rejected.
Tweaks has released 46.0 which does not depend on pygobject 3.47.0/3.48.0, we'll depend on pygobject 3.48.0 in a future release. Tweaks now includes its runtime dependencies in its meson.build, so hopefully this is more easily caught going forward.
FEDORA-2024-c9005ede03 (gnome-tweaks-46~beta-2.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.