pulb / mailnag

An extensible mail notification daemon
GNU General Public License v2.0
253 stars 32 forks source link

After update, gschemas.compiled missing #171

Closed schiessle closed 6 years ago

schiessle commented 6 years ago

I just updated mailnag to the latest version from extensions.gnome.org.

But now I get this error:

GLib.FileError: Failed to open file “/home/schiesbn/.local/share/gnome-shell/extensions/mailnag@pulb.github.com/schemas/gschemas.compiled”: open() failed: No such file or directory

Stack trace:
  getSettings@/home/schiesbn/.local/share/gnome-shell/extensions/mailnag@pulb.github.com/convenience.js:79:18
  MailnagSettingsWidget<._init@/home/schiesbn/.local/share/gnome-shell/extensions/mailnag@pulb.github.com/prefs.js:46:18
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  buildPrefsWidget@/home/schiesbn/.local/share/gnome-shell/extensions/mailnag@pulb.github.com/prefs.js:99:15
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:91:22
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
  @<main>:1:43

And indeed, /home/schiesbn/.local/share/gnome-shell/extensions/mailnag@pulb.github.com/schemas/gschemas.compiled doesn't exists, there is only a org.gnome.shell.extensions.mailnag.gschema.xml

schiessle commented 6 years ago

I could fix it by running glib-compile-schemas . in the directory. But this file should probably be shipped as part of the update?

pulb commented 6 years ago

Fixed.