I've cherry-picked that commit to our Ubuntu packaging git repo for
inclusion in our next gnome-shell upload.

** Changed in: gnome-shell (Ubuntu)
       Status: New => Fix Committed

** Tags added: fixed-in-gnome-shell-44.1 fixed-upstream

** Changed in: gnome-shell (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Desktop
Packages, 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

Status in gnome-shell package in Ubuntu:
  Fix Committed

Bug description:
  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/

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to