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 647180 - GNOME shell extensions no longer load
GNOME shell extensions no longer load
Status: RESOLVED DUPLICATE of bug 646333
Product: gnome-shell
Classification: Core
Component: extensions
3.0.x
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-04-08 15:04 UTC by Finnbarr P. Murphy
Modified: 2011-04-08 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Finnbarr P. Murphy 2011-04-08 15:04:21 UTC
Extensions no longer load. Looking Glass reports "Failed to load metadata.json: ReferenceError: Shell is not defined."

From extensionsSystem.js:

    try {
        metadataContents = Shell.get_file_contents_utf8_sync(metadataFile.get_path());
    } catch (e) {
        global.logError(baseErrorString + 'Failed to load metadata.json: ' + e);
        return;
    }

Appears to be due to changes made for Bug 646333.

Fix is to add line to extensionsSystem.js.  

const Shell = imports.gi.Shell;
Comment 1 Florian Müllner 2011-04-08 15:07:00 UTC
(In reply to comment #0)
> Appears to be due to changes made for Bug 646333.

Yes, and that bug also includes the fix which has been committed (and is included in version 3.0.0.2) :-)

*** This bug has been marked as a duplicate of bug 646333 ***