FS#64996 - missing dependency for gnome-tweaks

Attached to Project: Arch Linux
Opened by Sven (sthiele) - Tuesday, 31 December 2019, 20:39 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 21 March 2022, 22:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I have some single gnome apps installed like geary and ggit but are otherwise using kde as desktop. I installed gnome-tweaks to adjust these apps, but I get the following error if i try to run it.
Installing gnome-shell seems fix the problem.

>/usr/bin/python3 /usr/bin/gnome-tweaks
WARNING : Shell not installed or running
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/gtweak/app.py", line 30, in do_activate
self.win = Window(self, model)
File "/usr/lib/python3.8/site-packages/gtweak/tweakview.py", line 58, in __init__
self._model.load_tweaks(self)
File "/usr/lib/python3.8/site-packages/gtweak/tweakmodel.py", line 107, in load_tweaks
mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
File "/usr/lib/python3.8/site-packages/gtweak/tweaks/tweak_group_workspaces.py", line 170, in <module>
sw = StaticWorkspaceTweak(size_group=sg, loaded=_shell_loaded)
File "/usr/lib/python3.8/site-packages/gtweak/tweaks/tweak_group_workspaces.py", line 46, in __init__
self.check1.set_visible(self.settings[self.key_name])
TypeError: 'GSettingsFakeSetting' object is not subscriptable


Additional info:
* package version(s) gnome-tweaks-3.34.0-2
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Monday, 21 March 2022, 22:57 GMT
Reason for closing:  Not a bug
Comment by Jan Alexander Steffens (heftig) - Friday, 21 February 2020, 14:36 GMT
This is a bug in gnome-tweaks, not a missing dependency. It should run without the shell installed.

Please report this at https://gitlab.gnome.org/GNOME/gnome-tweaks/issues
Comment by mattia (nTia89) - Sunday, 20 March 2022, 15:34 GMT
I cannot reproduce the issue. Is it still valid for you?
Comment by Sven (sthiele) - Monday, 21 March 2022, 07:35 GMT
I tried it again, and it look like now a different module is missing:
```
❯ gnome-tweaks
Traceback (most recent call last):
File "/usr/bin/gnome-tweaks", line 13, in <module>
import gi
ModuleNotFoundError: No module named 'gi'
```
Comment by Jan Alexander Steffens (heftig) - Monday, 21 March 2022, 07:46 GMT
that's in python-gobject, which is already a dependency
Comment by Sven (sthiele) - Monday, 21 March 2022, 07:58 GMT
Yep, the package python-gobject is installed in version 2.42.0-3. But still I get the error above.
Comment by Sven (sthiele) - Monday, 21 March 2022, 08:05 GMT
Ahh, It probably has to do with conda .. maybe its my base environment.
If I start gnome-tweaks from a fresh environment it works.

Loading...