Elinvention / gnome-shell-extension-nasa-apod

Change your wallpaper daily to the NASA's astronomy picture of the day
https://extensions.gnome.org/extension/1202/nasa-apod/
GNU General Public License v3.0
119 stars 21 forks source link

Extension not getting activated after installation #46

Closed divyajyoti09 closed 2 years ago

divyajyoti09 commented 2 years ago

Describe the bug

I installed the extension in Ubuntu 18.04 but the extension is showing the following error in the tweaks and is not getting enabled:

TypeError: ExtensionUtils.initTranslations is not a function

Stack trace:
  init@/home/divyajyoti/.local/share/gnome-shell/extensions/nasa_apod@elinvention.ovh/prefs.js:24:5
  _getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:76:9
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:31
  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

Operating system with version

GNOME Shell version

Installation method

git clone https://github.com/Elinvention/gnome-shell-extension-nasa-apod.git $HOME/.local/share/gnome-shell/extensions/nasa_apod@elinvention.ovh
gnome-shell-extension-tool -e nasa_apod@elinvention.ovh
Elinvention commented 2 years ago

That's because the main branch supports only GNOME 40+ as you can see in metadata.json. You could checkout older commits that worked on gnome 3.38.