Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnome-tweak-tool unable to successfully launch #38

Closed
rustylynch opened this issue Apr 5, 2018 · 6 comments
Closed

gnome-tweak-tool unable to successfully launch #38

rustylynch opened this issue Apr 5, 2018 · 6 comments

Comments

@rustylynch
Copy link

Attempting to start the gnome-tweak-tool from the gnome desktop results in nothing apparently happening. Checking the process table I can see 'python3 /usr/bin/gnome-tweak-tool' is running, so after killing it and starting directly on the command line I can see:

$ python3 /usr/bin/gnome-tweak-tool
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/gtweak/widgets.py", line 164, in init
self.settings = GSettingsSetting(schema_name, **options)
File "/usr/lib/python3.6/site-packages/gtweak/gsettings.py", line 124, in init
raise GSettingsMissingError(schema_name)
gtweak.gsettings.GSettingsMissingError: org.gnome.nautilus.desktop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/gtweak/app.py", line 43, in do_activate
self.win = Window(self, model)
File "/usr/lib/python3.6/site-packages/gtweak/tweakview.py", line 59, in init
self.model.load_tweaks(self)
File "/usr/lib/python3.6/site-packages/gtweak/tweakmodel.py", line 117, in load_tweaks
mods = import("gtweak.tweaks", globals(), locals(), tweak_files, 0)
File "/usr/lib/python3.6/site-packages/gtweak/tweaks/tweak_group_desktop.py", line 26, in
GSettingsSwitchTweak(
("Home"),"org.gnome.nautilus.desktop", "home-icon-visible", depends_on=dicons, schema_filename="org.gnome.nautilus.gschema.xml"),
File "/usr/lib/python3.6/site-packages/gtweak/widgets.py", line 276, in init
_GSettingsTweak.init(self, name, schema_name, key_name, **options)
File "/usr/lib/python3.6/site-packages/gtweak/widgets.py", line 173, in init
logging.info("GSetting missing %s" % (e.message))
AttributeError: 'GSettingsMissingError' object has no attribute 'message'

Note that the tool works in 21600. I can swupd verify back to the old version and see it work, and then update and see it break again

@rustylynch
Copy link
Author

The problem is that the org.gnome.nautilus.gschema.xml file installed by the nautilus package has removed the desktop schema that the gnome-tweaks-tool requires.

@mrkz
Copy link

mrkz commented Apr 5, 2018

@rustylynch Thanks for the report, I reverted the nautilus update, so gnome-tweak-tool is no longer broken while I look at the fix :-)

@rustylynch
Copy link
Author

actually... it might be better to pull in on patch from the upstream gnome-tweak-tool

https://gitlab.gnome.org/GNOME/gnome-tweaks/commit/1b7149f8f5f38726822439d6b9c960801ca9ecb2

@rustylynch
Copy link
Author

I can verify it works for me

@fenrus75
Copy link
Contributor

fenrus75 commented Apr 6, 2018 via email

@mrkz
Copy link

mrkz commented Apr 6, 2018

@rustylynch I cherry-picked the patch you pointed out and verify it works, should be fixed in the following updates. Will close this bug once the fix is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants