Public bug reported:

Gnome-shell extensions fail to install if the extension does not have a
'schemas' folder. I can replicate this behaviour when installing from
extensions.gnome.org or gnome-shell-extension-manager. By adding an
empty schema's folder the extension installs correctly.

I have checked the gjs extension documentation[1] and afaict the
'schemas'  folder is not listed as required.

Relevant logs when installing the weatheroclock[2] extension:

```
Mar 28 12:38:07 eart gnome-shell[1444369]: Archive:  
/tmp/HNKP21.shell-extension.zip
Mar 28 12:38:07 eart gnome-shell[1444369]:   inflating: 
/home/tim/.local/share/gnome-shell/extensions/weatherocl...@cleomenezesjr.github.io/extension.js
Mar 28 12:38:07 eart gnome-shell[1444369]:   inflating: 
/home/tim/.local/share/gnome-shell/extensions/weatherocl...@cleomenezesjr.github.io/stylesheet.css
Mar 28 12:38:07 eart gnome-shell[1444369]:  extracting: 
/home/tim/.local/share/gnome-shell/extensions/weatherocl...@cleomenezesjr.github.io/metadata.json
Mar 28 12:38:07 eart gnome-shell[1423521]: Error while installing 
weatherocl...@cleomenezesjr.github.io: Error when getting information for file 
“/home/tim/.local/share/gnome-shell/extensions/weatherocl...@cleomenezesjr.github.io/schemas”:
 No such file or directory
Mar 28 12:38:07 eart extension-manag[1426090]: 
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code36: 
GDBus.Error:org.gnome.Shell.ExtensionError: Error when getting information for 
file 
“/home/tim/.local/share/gnome-shell/extensions/weatherocl...@cleomenezesjr.github.io/schemas”:
 No such file or directory

```

[1] https://gjs.guide/extensions/overview/anatomy.html#metadata-json-required
[2] https://extensions.gnome.org/extension/5470/weather-oclock/

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: lunar rls-ll-incoming

** Tags added: rls-ll-incoming

** Summary changed:

- extensions: extension fails to install if no "schemas" folder present
+ gnome-shell: extension fails to install if no "schemas" folder present

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2013073

Title:
  gnome-shell: extension fails to install if no "schemas" folder present

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2013073/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to