GNOME Bugzilla – Bug 675741
Can't install any extensions
Last modified: 2017-01-22 21:20:35 UTC
I can browse through the extensions on https://extensions.gnome.org/ and I can see the activate/deactivate switches and trigger them. After that I'm beeing asked if I really want to install this extension but after I click on the install button nothing happens. The "installed extensions" tab on the site is empty. And the folder in: /.local/share/gnome-shell/extensions/ is empty, too. Nothing is shown in ~/.xsession-errors. I am behind a proxy, but it is configured both in Firefox and in the system settings, which is verified by accessing https://extensions.gnome.org/ with epiphany. I don't see any connection to extensions.gnome.org in the proxy log after clicking install. After the steps above where done I instead installed the extensions from the git repositories. That worked fine and the extensions show up as installed on the site. The settings links works as well.
Oh, I suspect I should add some details about versions: I run an updated Ubuntu 12.04, which means Firefox 12.0 and gnome-shell 3.4.1.
Do you see anything in the Looking Glass, in the Errors or Extensions tabs?
I can also mention that switching on and off already installed extensions using https://extensions.gnome.org/local/ work fine.
(In reply to comment #2) > Do you see anything in the Looking Glass, in the Errors or Extensions tabs? No. (I checked that before, but forgot to mention it.)
The best I can think of is that your proxy settings in System Settings are somehow wrong. Try without a proxy, or perhaps adding some logging statements in /usr/share/gnome-shell/js/ui/extensionSystem.js if you know how. The only other thing that I can think of is that you don't have unzip installed and on $PATH.
(In reply to comment #5) > The best I can think of is that your proxy settings in System Settings are > somehow wrong. My proxy settings work with several other programs. I do note though that something tries (and fails) to look up extensions.gnome.org in DNS. I guess these are the settings that are used: >gsettings list-recursively org.gnome.system.proxy org.gnome.system.proxy autoconfig-url '' org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', 'resfeber.se', '.resfeber.se', 'static.travelinspiration.info', 'static.reisefeber.no', 'static.rejsefeber.dk', 'static.boxoffice.se', 'static.arteudland.dk', 'static.ticketservice.no', 'statics.travelinspiration.info'] org.gnome.system.proxy mode 'manual' org.gnome.system.proxy use-same-proxy false org.gnome.system.proxy.ftp host '' org.gnome.system.proxy.ftp port 0 org.gnome.system.proxy.http authentication-password '' org.gnome.system.proxy.http authentication-user '' org.gnome.system.proxy.http enabled true org.gnome.system.proxy.http host 'vmdev1.dev.resfeber.se' org.gnome.system.proxy.http port 8888 org.gnome.system.proxy.http use-authentication false org.gnome.system.proxy.https host 'vmdev1.dev.resfeber.se' org.gnome.system.proxy.https port 8888 org.gnome.system.proxy.socks host '' org.gnome.system.proxy.socks port 0 Maybe there is a problem that the host name is looked up even though a proxy is set? > The only other thing that I can think of is that you don't have unzip installed > and on $PATH. It's installed. This couldn't be the problem anyway since I could see that no request to download where issued at all.
(In reply to comment #6) > This couldn't be the problem anyway since I could see that no > request to download where issued at all. How are you seeing that? (log messages / strace / tcpdump ?) Is it connecting to the proxy server at all?
(In reply to comment #7) > (In reply to comment #6) > > This couldn't be the problem anyway since I could see that no > > request to download where issued at all. > > How are you seeing that? (log messages / strace / tcpdump ?) Is it connecting > to the proxy server at all? As I wrote already in the description I could see no entries about download in the proxy log. Since then I have confirmed it with Wireshark as well.
I have been having a similar problem, which persists as far as Gnome Shell 3.5.2. In my case, I managed to "fix" it (but I have no idea if the fix is correct or just a workaround) by editing /usr/share/gnome-shell/js/ui/extensionDownloader.js (was in file extensionSystem.js previously) and changing the following line: let contents = message.response_body.flatten().as_bytes(); to this: let contents = message.response_body.flatten(); In a prior version of Gnome Shell, there was an error in ~/.xsession-errors on this line; on the last version, it doesn't seem to show up anymore.
I don't believe that workaround could work. What version of glib/gobject-introspection do you have?
For what is worth, I am using Ubuntu 12.04 but pulling the Gnome Shell stuff from Gnome-Shell Testing PPA. I believe you are referring to what has been packaged as gir1.2-glib-2.0 ("Introspection data for GLib, GObject, Gio and GModule"), which is listed as being version "1.33.2+git20120618.64f38328-0ubuntu1~12.04~ricotz0". If this isn't what you mean, let me know and I will provide the correct version information. FYI, I posted the above workaround because it works empirically: with the line intact, a 0 byte file was created in /tmp when I tried to download a file and there was never any further progress in download; with the workaround, the file is created, quickly downloads and installs, with me being able to use the extension immediately.
Are you still having issues here?
Yes. When I tried a few weeks back I got the exact same behaviour as I described above. Since then a new problem has appeared as well: No extensions are shown on https://extensions.gnome.org/local/ In the web console I see the following error: TypeError: templates.get("extension/info") is not a function @ https://extensions.gnome.org/static/js/extensions.js:224
The error 'TypeError: templates.get("extension/info") is not a function' is now gone. But the original problems persist.
Is it still issue?
Well, I don't know since I don't use Gnome anymore. That means I won't complain if you close the bug.