Bug 33002

Summary: gnome-tweaks crashes on startup
Product: Mageia Reporter: Javier GG <jggc503>
Component: RPM PackagesAssignee: GNOME maintainers <gnome>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: https://gitlab.gnome.org/GNOME/gnome-tweaks/-/issues/480
Whiteboard:
Source RPM: gnome-tweaks-46.0-1.mga10.src.rpm CVE:
Status comment:

Description Javier GG 2024-03-22 01:32:40 CET
gnome-tweaks 
Traceback (most recent call last):
  File "/usr/bin/gnome-tweaks", line 99, 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 267, in <module>
    Title(_("Lock Screen (Password Entry)"), "", uid="title-theme"),
    ^^^^^
NameError: name 'Title' is not defined
Comment 1 David GEIGER 2024-03-22 05:17:55 CET
Could you report this issue upstream at https://gitlab.gnome.org/GNOME/gnome-tweaks/-/issues please?

CC: (none) => geiger.david68210

Comment 2 Javier GG 2024-03-22 13:01:30 CET
(In reply to David GEIGER from comment #1)
> Could you report this issue upstream at
> https://gitlab.gnome.org/GNOME/gnome-tweaks/-/issues please?

Done:
https://gitlab.gnome.org/GNOME/gnome-tweaks/-/issues/480
Comment 3 David GEIGER 2024-03-22 15:48:32 CET
Thanks! let's see now what upstream think.

URL: (none) => https://gitlab.gnome.org/GNOME/gnome-tweaks/-/issues/480

Comment 4 Lewis Smith 2024-03-22 20:55:31 CET
This must be a Cauldron issue.
Running M9, Gnome, gnome-tweaks-40.10-2.mga9 starts OK without any terminal message - unusual:
 $ gnome-tweaks
 $

Assignee: bugsquad => gnome

Comment 5 Javier GG 2024-03-24 16:59:01 CET
(In reply to David GEIGER from comment #3)
> Thanks! let's see now what upstream think.

This is the response from the program maintainer:

'How was Tweaks installed on your system and what distro are you running?

That code was removed before 46.0 was released: 62fe39ed
That code's name was "Lock Screen", not "Lock Screen (Password Entry)"

My guess is somehow /usr/lib/python3.12/site-packages/gtweak/ was not updated when you upgraded to 46.0'
Comment 6 Javier GG 2024-03-25 11:48:26 CET
gnome-tweaks-46.0-2.mga10.noarch resolves the issue.
Thanks, David

Resolution: (none) => FIXED
Status: NEW => RESOLVED