Bug 858071

Summary: gnome-tweak-tool does not show any extensions
Product: [Fedora] Fedora Reporter: Jeff Bastian <jbastian>
Component: gnome-tweak-toolAssignee: Michel Lind <michel>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 18CC: michel, pikachu.2014
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-tweak-tool-3.5.5-1.fc18.noarch Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-17 23:10:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff Bastian 2012-09-17 22:41:01 UTC
Description of problem:
gnome-tweak-tool-3.5.4 does not show any extensions.

It does, however, leave a python traceback regarding extensions:

WARNING : Could not list shell extensions
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_shell.py", line 65, in __init__
    extensions = self._shell.list_extensions()
  File "/usr/lib/python2.7/site-packages/gtweak/gshellwrapper.py", line 130, in list_extensions
    return self._proxy.proxy_extensions.ListExtensions()
AttributeError: _ShellProxy instance has no attribute 'proxy_extensions'
WARNING : Error listing extensions
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_shell_extensions.py", line 163, in __init__
    for extension in shell.list_extensions().values():
  File "/usr/lib/python2.7/site-packages/gtweak/gshellwrapper.py", line 130, in list_extensions
    return self._proxy.proxy_extensions.ListExtensions()
AttributeError: _ShellProxy instance has no attribute 'proxy_extensions'
INFO    : Missing gsettings org.gnome.nautilus.desktop (key computer-icon-visible)

Version-Release number of selected component (if applicable):
gnome-tweak-tool-3.5.4-1.fc18.noarch
gnome-shell-3.5.5-2.fc18.x86_64

How reproducible:
every time

Steps to Reproduce:
1. start gnome-tweak-tool from a terminal
2. go to Shell Extensions
  
Actual results:
no extensions listed
traceback left in terminal window

Expected results:
able to control extensions

Additional info:

Comment 1 Jeff Bastian 2012-09-17 23:00:46 UTC
A patch is attached to Gnome bug 681761.
  https://bugzilla.gnome.org/show_bug.cgi?id=681761
  http://bugzilla-attachments.gnome.org/attachment.cgi?id=221021

It's a simple typo:
-        self.proxy_extension = Gio.DBusProxy.new_sync(
+        self.proxy_extensions = Gio.DBusProxy.new_sync(

I made the change to my /usr/lib/python2.7/site-packages/gtweak/gshellwrapper.py and confirmed it fixes the problem.

Comment 2 Jeff Bastian 2012-09-17 23:10:26 UTC
I found gnome-tweak-tool-3.5.5-1.fc18.noarch in the updates-testing repo and confirmed it fixes the bug.