GNOME Bugzilla – Bug 657474
Gnome-Shell Extensions management broken
Last modified: 2017-06-06 19:58:04 UTC
Created attachment 194880 [details] [review] fix g-s extension management With the current git of gnome-shell the extension handling is broken.
Rico, I just committed some code to make extension management work on 3.0 and 3.2 (I dont have a 3.2 install yet). Can you please test this works on 3.2 / git. Thanks John
Seems broken now. WARNING : Error listing extensions Traceback (most recent call last):
+ Trace 228248
for extension in shell.list_extensions().values():
(In reply to comment #2) > Seems broken now. > > WARNING : Error listing extensions > Traceback (most recent call last): > File > "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_shell_extensions.py", > line 153, in __init__ > for extension in shell.list_extensions().values(): > Yip, I'm an idiot. I forgot to implement that method using the new API in 3.2 The fix is approximately def list_extensions(self) return self._proxy.ListExtensions() If dbus marshalls the types correctly the result should be the same as the 3.0 call (because ListExtensions returns the same extensionMeta object anyway) I will fix this tonight.
Rico, can you test this again please?
Sorry for the delay. Unfortunatelly it still isnt working. I havent time to look into it, so I am just pasting the trace. (Havent tested it with gnome-shell 3.1.90 yet, but should be a same result) WARNING : Could not list shell extensions Traceback (most recent call last):
+ Trace 228266
extensions = self._shell.list_extensions()
return self._proxy.ListExtensions()
WARNING : Error listing extensions Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_shell_extensions.py", line 153, in __init__ for extension in shell.list_extensions().values(): File "/usr/lib/python2.7/dist-packages/gtweak/gshellwrapper.py", line 106, in list_extensions return self._proxy.ListExtensions() AttributeError: _ShellProxy instance has no attribute 'ListExtensions'
(In reply to comment #5) > Sorry for the delay. Unfortunatelly it still isnt working. I havent time to > look into it, so I am just pasting the trace. (Havent tested it with > gnome-shell 3.1.90 yet, but should be a same result) Yeah, I pushed another fix. Can you test again please? Sorry that I can't test this more thoroughly. Thanks for your help.
It works now ;)
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.