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 675741 - Can't install any extensions
Can't install any extensions
Status: RESOLVED OBSOLETE
Product: website
Classification: Infrastructure
Component: extensions.gnome.org
current
Other Linux
: Normal critical
: ---
Assigned To: Yuri Konotopov
Shell extensions maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-05-09 10:48 UTC by Mårten Svantesson
Modified: 2017-01-22 21:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mårten Svantesson 2012-05-09 10:48:58 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.
Comment 1 Mårten Svantesson 2012-05-09 12:53:11 UTC
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.
Comment 2 Jasper St. Pierre (not reading bugmail) 2012-05-09 12:58:48 UTC
Do you see anything in the Looking Glass, in the Errors or Extensions tabs?
Comment 3 Mårten Svantesson 2012-05-09 14:18:10 UTC
I can also mention that switching on and off already installed extensions using https://extensions.gnome.org/local/ work fine.
Comment 4 Mårten Svantesson 2012-05-09 14:19:14 UTC
(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.)
Comment 5 Jasper St. Pierre (not reading bugmail) 2012-05-09 14:26:59 UTC
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.
Comment 6 Mårten Svantesson 2012-05-10 14:31:28 UTC
(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.
Comment 7 Dan Winship 2012-05-10 16:01:08 UTC
(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?
Comment 8 Mårten Svantesson 2012-05-10 17:09:26 UTC
(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.
Comment 9 marzojr 2012-06-21 19:12:40 UTC
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.
Comment 10 Jasper St. Pierre (not reading bugmail) 2012-06-21 19:15:25 UTC
I don't believe that workaround could work. What version of glib/gobject-introspection do you have?
Comment 11 marzojr 2012-06-21 23:35:10 UTC
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.
Comment 12 Jasper St. Pierre (not reading bugmail) 2012-09-26 06:31:09 UTC
Are you still having issues here?
Comment 13 Mårten Svantesson 2012-09-26 11:13:47 UTC
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
Comment 14 Mårten Svantesson 2012-10-04 10:10:29 UTC
The error 'TypeError: templates.get("extension/info") is not a function' is now gone. But the original problems persist.
Comment 15 Yuri Konotopov 2017-01-21 20:12:49 UTC
Is it still issue?
Comment 16 Mårten Svantesson 2017-01-22 21:19:49 UTC
Well, I don't know since I don't use Gnome anymore. That means I won't complain if you close the bug.