This bug was fixed in the package gnome-shell - 44.0-2ubuntu3

---------------
gnome-shell (44.0-2ubuntu3) lunar; urgency=medium

  * Cherry-pick fix for installing extensions (LP: #2013073)
  * Add proposed patch to fix running gnome-shell on RISC-V (LP: #2012068)

 -- Jeremy Bicha <jbi...@ubuntu.com>  Fri, 31 Mar 2023 10:18:23 -0400

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

-- 
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 Released

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