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

Not working on Gome 45 #394

Closed
cem-okulmus opened this issue Nov 3, 2023 · 3 comments
Closed

Not working on Gome 45 #394

cem-okulmus opened this issue Nov 3, 2023 · 3 comments
Labels
bug Something isn't working GNOME The bug is specific to GNOME

Comments

@cem-okulmus
Copy link

Describe the Bug

When updating to Ubuntu 23.10, which runs Gnome 45, the extension will not load. Here the technical error reported:

SyntaxError: import declarations may only appear at top level of a module

Stack trace:
@file:///home/okulmus/.local/share/gnome-shell/extensions/burn-my-windows@schneegans.github.com/prefs.js:29:24
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

A bit confused by this as a previous version of this extension stated that it was already compatible with 45. The error above seems consistent with extensions that do not support/have switched to ESM

Steps to reproduce the behavior:
Simply install the extension on Gnome 45.

System

Please complete the following information:

  • Linux distribution: Ubuntu 23.10
  • Burn-My-Windows version 39
  • GNOME Shell version: 45
@cem-okulmus cem-okulmus added the bug Something isn't working label Nov 3, 2023
@Schneegans
Copy link
Owner

Hi there! Are you 100% sure that you are running version 39? This should indeed be compatible with GNOME 45. There is also version 40, however, this is again for older GNOME versions.

Have you restarted your session after upgrading the extension?

@cem-okulmus
Copy link
Author

I had removed the extension after my upgrade to 23.10 and then installed it again via the extensions.gnome.org website.
When I check via Extension Manager, it tells me that it's running version 39:

Screenshot from 2023-11-03 13-59-23

@cem-okulmus
Copy link
Author

Oh, I had indeed not restarted the session (via logging out and in again). Now it works! Closing this issue then. It is a bit weird since the issue persisted after a restart and was only fixed after downloading it again and then restarting the session again. Perhaps I indeed hat version 40 installed before, but can't check now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GNOME The bug is specific to GNOME
Projects
None yet
Development

No branches or pull requests

2 participants