blackjackshellac / kitchenTimer

Gnome shell kitchen timer extension
GNU General Public License v3.0
21 stars 10 forks source link

[BUG] Pop OS 20.10 Preferences causes error #38

Closed dodalovic closed 3 years ago

dodalovic commented 3 years ago

The settings of extension kitchentimer@blackjackshellac.ca had an error:

Error: Don't know how to convert GType (null) to JavaScript object

Stack trace:

_update_timers_tab_from_model@/home/dodalovic/.local/share/gnome-shell/extensions/kitchentimer@blackjackshellac.ca/prefs.js:560:26
_populate_liststore@/home/dodalovic/.local/share/gnome-shell/extensions/kitchentimer@blackjackshellac.ca/prefs.js:291:12
build@/home/dodalovic/.local/share/gnome-shell/extensions/kitchentimer@blackjackshellac.ca/prefs.js:103:14
buildPrefsWidget@/home/dodalovic/.local/share/gnome-shell/extensions/kitchentimer@blackjackshellac.ca/prefs.js:646:35
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177: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:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
blackjackshellac commented 3 years ago

This looks similar to something I fixed recently but am awaiting an updated review on extensions.gnome.org. did you install there, or from github?

blackjackshellac commented 3 years ago

I think I replicated this on a fresh install on fedora 33. If you create at least one preset timer it should allow you to get into preferences. I'm going to take a look at this again because a fresh install should always have at least one preset timer, but that's another issue.

blackjackshellac commented 3 years ago

This version should work with a fresh install, and have one 5 minute preset timer by default.