After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788685 - gnome-tweak-tool fails to launch if nautilus is not installed
gnome-tweak-tool fails to launch if nautilus is not installed
Status: RESOLVED FIXED
Product: gnome-tweak-tool
Classification: Applications
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-10-08 19:43 UTC by Ian
Modified: 2017-10-08 20:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ian 2017-10-08 19:43:47 UTC
When nautilus is not installed, running gnome-tweak-tool will output:

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 <module>
    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'
Comment 1 Jeremy Bicha 2017-10-08 20:37:06 UTC
Yes. You need to have the nautilus gsettings schemas installed.

I have updated the README file to mention this runtime dependency

https://git.gnome.org/browse/gnome-tweak-tool/tree/README.md