Darazaki / AutoDayNightThemeSwitch

A GNOME extension to automatically switch themes depending on the time of the day
https://extensions.gnome.org/extension/3091/auto-daynight-theme-switch
GNU General Public License v3.0
13 stars 2 forks source link

ImportError: No JS module 'adnts@n.darazaki' found in search path #6

Closed ghost closed 3 years ago

ghost commented 3 years ago

The settings of extension adnts@n.darazaki had an error:

ImportError: No JS module 'adnts@n.darazaki' found in search path

Stack trace:

installImporter@resource:///org/gnome/Shell/Extensions/js/misc/extensionUtils.js:266:5
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:199:28
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:5
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
Darazaki commented 3 years ago

That error looks pretty weird…

ghost commented 3 years ago
Darazaki commented 3 years ago

Thanks for your answers!

This looks like a GNOME bug, I'll try to take a look at GNOME's code once I get some sleep to see if I can find anything to help you :)

I'll keep this issue open just in case I'm wrong. If you find anything, please keep me informed!

ghost commented 3 years ago

It seems that all my extensions disappeared I'll re-install them. I think everything has gone back to normal.

Darazaki commented 3 years ago

Wow it's the first time I see anything like that :/

If not already done, you should probably open an issue in the GNOME Shell repository and repeat what you told me just in case they can do anything to fix that

I tried looking at the GNOME code but haven't found anything obvious that could help you sorry

I hope you wont encounter this bug ever again

EDIT: fyi, extensions installed by normal users are stored inside ~/.local/share/gnome-shell/extensions so if anything happens again you should probably look here first