Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install in Ubuntu 16.04 and GNOME Shell 3.18.5 after update #13

Open
Naahuel opened this issue Oct 4, 2019 · 2 comments
Open

Comments

@Naahuel
Copy link

Naahuel commented Oct 4, 2019

Hi! I use this extension every day. I received a notification through Gnome that an update was available. I clicked the update button on the Gnome extensions site and nothing happened. When I go to https://extensions.gnome.org/extension/1459/miniview/ and try to enable from there, nothing happens, it goes back to "OFF". I'm not presented with any errors or nothing. In the Chrome console all I see after I click the ON button is this:

Uncaught (in promise) GDBus.Error:org.gnome.Shell.LoadExtensionError: SyntaxError: class is a reserved identifier

I have GNOME Shell 3.18.5

If I install manually and try to enable it, it shows me a similar error:

SyntaxError: class is a reserved identifier

Stack trace:
  Application<._getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:79
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178
  Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:94
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178
  Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:259
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178
  main@resource:///org/gnome/shell/extensionPrefs/main.js:397
  @<main>:1

I have another machine running PopOS 19 (not sure what shell version but should be newer) and I had no problems at all.

What I ended up doing was cloing this repo in my extensions folder and checked out a93966a (which is the last commit where the extension works on my system). Then it works.

@iamlemec
Copy link
Owner

iamlemec commented Oct 5, 2019

Thanks for the report! Great to hear that you're an avid user.

So this relates to the new ES6 class system that they incorporated in GNOME 3.26. I think you still get most of the new stuff with a93966a, as switching over to that was one of the later changes I made.

For people not willing to go the manual route, I guess what I should do is label the latest release on the extensions website as only valid for 3.26 and onwards, so that it falls back on the previous version for earlier GNOME releases.

@Naahuel
Copy link
Author

Naahuel commented Oct 5, 2019

Thanks for answering. So that way people running Gnome < 3.26 should get the previous release? That sounds good.

I don't mind installing manually. That particular machine is my work computer and it runs a modified version of Ubuntu with some restraints so I can't really upgrade it or modify it much. On my personal computer the latest version works great (GNOME Shell 3.32.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants