Daniel-Khodabakhsh / datetime-format

Gnome extension which allows users to customise the datetime format on the status bar and date menu.
GNU General Public License v3.0
30 stars 15 forks source link

TypeError: extension.metadata.formatTargets is undefined #18

Open jumpnett opened 4 years ago

jumpnett commented 4 years ago

The settings of extension datetime-format@Daniel-Khodabakhsh.github.com had an error:

TypeError: extension.metadata.formatTargets is undefined

Stack trace:

buildPrefsWidget@/home/jumpnett/.local/share/gnome-shell/extensions/datetime-format@Daniel-Khodabakhsh.github.com/prefs.js:136:2
_showPrefs@resource:///org/gnome/shell/extensionPrefs/main.js:57:22
_extensionsLoaded@resource:///org/gnome/shell/extensionPrefs/main.js:320:13
_scanExtensions/<@resource:///org/gnome/shell/extensionPrefs/main.js:298:13
asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:132:13
main@resource:///org/gnome/shell/extensionPrefs/main.js:707:5
@<main>:1:43
jumpnett commented 4 years ago

This occurs when trying to edit the preferences in Gnome-Tweak.

brenfwd commented 3 years ago

See https://github.com/Daniel-Khodabakhsh/datetime-format/issues/16#issuecomment-739451053 for a workaround