gnome-tweak-tool cannot start on ubuntu budgie 17.04

Bug #1678420 reported by Chen Chen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Budgie
Fix Released
Undecided
Unassigned
gnome-tweak-tool (Ubuntu)
Fix Released
High
Unassigned

Bug Description

atc@ATC:~$ gnome-tweak-tool
WARNING : Shell not installed or running
atc@ATC:~$ sudo gnome-tweak-tool
WARNING : Shell not installed or running

gnome-tweak-tool version 3.24

more addition:
i had installed freshly just before this fresh install, it working smoothly but i haven't check the version of gnome-tweak-tool at that time, so maybe it's a new version bug? or something else i did wrong at this time?

more info:
WARNING : Shell not installed or running
WARNING : Error detecting shell
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 279, in __init__
raise Exception("Shell not running or DBus service not available")
Exception: Shell not running or DBus service not available
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gtweak/app.py", line 41, in do_activate
self.win = Window(self, model)
File "/usr/lib/python2.7/dist-packages/gtweak/tweakview.py", line 58, in __init__
self._model.load_tweaks(self)
File "/usr/lib/python2.7/dist-packages/gtweak/tweakmodel.py", line 126, in load_tweaks
mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
File "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 335, in <module>
ShellExtensionTweakGroup(),
File "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 309, in __init__
shell._settings.bind("disable-user-extensions", self.titlebar_widget,
AttributeError: 'NoneType' object has no attribute '_settings'

Tags: patch zesty
Revision history for this message
fossfreedom (fossfreedom) wrote :
Changed in ubuntubudgie:
status: New → Triaged
Changed in gnome-tweak-tool (Ubuntu):
status: New → In Progress
assignee: nobody → fossfreedom (fossfreedom)
tags: added: patch zesty
Revision history for this message
fossfreedom (fossfreedom) wrote :

the above patch tests that gnome-shell is actually running before binding to the widget.

Revision history for this message
Chen Chen (cc243750496) wrote :

How to use the patch? I mean what the step is ?

Jeremy Bícha (jbicha)
Changed in gnome-tweak-tool (Ubuntu):
importance: Undecided → High
Revision history for this message
Jeremy Bícha (jbicha) wrote :

David, thanks for the patch. I am uploading to zesty now for you. I am unsubscribing ubuntu-sponsors. Feel free to resubscribe if you have something else that needs sponsoring.

Usually, GNOME developers prefer patches to be in git format-patch format with the GNOME bug number in the long description part of the commit message. That way the patch can be directly applied to their git branch.

There is a git-bz tool that most GNOME developers use that might be helpful:
http://git.fishsoup.net/cgit/git-bz/tree/git-bz

Changed in gnome-tweak-tool (Ubuntu):
status: In Progress → Fix Committed
assignee: fossfreedom (fossfreedom) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-tweak-tool - 3.24.0-0ubuntu2

---------------
gnome-tweak-tool (3.24.0-0ubuntu2) zesty; urgency=medium

  * Add launch-in-non-gnome-shell-environments.patch:
    - Fix 3.24 regression that prevented Tweak Tool from starting when
      GNOME Shell isn't running (LP: #1678420)

 -- David Mohammed <email address hidden> Sat, 01 Apr 2017 12:05:52 -0400

Changed in gnome-tweak-tool (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntubudgie:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.