Closed rpoulin closed 11 years ago
You're probably referring to the web interface at http://extensions.gnome.org/ — this likely means you've upgraded to a Gnome Shell version newer than what the extension is listed as compatible with. (Currently, 3.8.x.)
You can try manually editing the file $HOME/.local/share/gnome-shell/extensions/weather-extension@xeked.com/metadata.json
and adding your Shell version to the compatibility list, but there's no guarantee it'll really work properly with a newer version. (Still, the best way to find out is to try! And please let us know the result.)
If you want to give it a try, you'd ignore the "do not edit" admonishment (grin) and edit the file to look something like this (if your updated version is 3.9.x)
{
"_generated": "Generated by SweetTooth, do not edit",
"description": "A simple extension for displaying weather information from several cities in GNOME Shell",
"localedir": "/usr/local/share/locale",
"name": "Weather",
"shell-version": [
"3.8", "3.9"
],
"url": "https://github.com/Neroth/gnome-shell-extension-weather",
"uuid": "weather-extension@xeked.com",
"version": 10
}
(The only thing I added was the , "3.9"
following the existing "3.8"
in the shell-version
list.)
Thanks for the help. The extension will not install from extensions.gnome.org. I added a ppa to my repositories and installed it with apt. That installed the extension but then, adding a version of 3.9 didn't work. I copied and pasted the content of your metadata file into mine, that didn't work either. This extension is broken for me...
Thanks again. Ron
If it's this ppa, I would suggest contacting the “Gnome-Shell-Extensions developers” team for assistance with any problems you're having with it. (It looks like Neroth is a member of that team, but there are also others, and as a group they'll be more familiar with the intricacies of ppa-based installation and use of the extension in Ubuntu's Gnome Shell environment.)
I found the PPA instructions in README.MD located in the zip file I downloaded from https://github.com/Neroth/gnome-shell-extension-weather
The instructions for Ubuntu are the following:
https://launchpad.net/~gnome-shell-extensions/+archive/ppa/+packages)
Add the PPA ppa:gnome-shell-extensions to your source list, update the package list and install gnome-shell-extension-weather:
sudo add-apt-repository ppa:gnome-shell-extensions sudo apt-get update sudo apt-get install gnome-shell-extension-weather
I believe this PPA is maintained by Neroth. Noticed another comment on extensions.gnome.org indicating that the extension is not installing.
The error reported by the extension when I use the tweak tool to open the preferences is this:
Error: Requiring GWeather, version none: Typelib file for namespace 'GWeather' (any version) not found
Stack trace:
@/usr/share/gnome-shell/extensions/weather-extension@xeked.com/prefs.js:37
Application<._getExtensionPrefsModule@
/usr/share/gnome-shell/js/extensionPrefs/main.js:84
wrapper@/usr/share/gjs-1.0/lang.js:213
Application<._selectExtension@
/usr/share/gnome-shell/js/extensionPrefs/main.js:99
wrapper@/usr/share/gjs-1.0/lang.js:213
Application<._extensionSelected@
/usr/share/gnome-shell/js/extensionPrefs/main.js:119
wrapper@/usr/share/gjs-1.0/lang.js:213
Application<._selectExtension@
/usr/share/gnome-shell/js/extensionPrefs/main.js:110
wrapper@/usr/share/gjs-1.0/lang.js:213
Application<._extensionsLoaded@
/usr/share/gnome-shell/js/extensionPrefs/main.js:219
wrapper@/usr/share/gjs-1.0/lang.js:213
_emit@/usr/share/gjs-1.0/signals.js:124
ExtensionFinder<._extensionsLoaded@
/usr/share/gnome-shell/js/misc/extensionUtils.js:178
wrapper@/usr/share/gjs-1.0/lang.js:213
done@/usr/share/gnome-shell/js/misc/fileUtils.js:33
@/usr/share/gnome-shell/js/misc/fileUtils.js:51
onNextFileComplete@/usr/share/gnome-shell/js/misc/fileUtils.js:21
main@/usr/share/gnome-shell/js/extensionPrefs/main.js:276
@
I do not know where to find the library called GWeather. Tweak Tool shows the extension has a load error but it does not say what the error is.
In the dpkg log I found this and probably the source of the problem:
2013-09-08 10:07:10 startup archives unpack
2013-09-08 10:07:10 install gnome-shell-extension-weather:all
Notice the pending trigger for libglib2.0? Don't know what to do about that. Looks like a failing package broke this extension. What do you think?
Ron
On Sat, Sep 7, 2013 at 5:42 PM, Frank Dana notifications@github.com wrote:
If it's this ppahttps://launchpad.net/%7Egnome-shell-extensions/+archive/ppa, I would suggest contacting the “Gnome-Shell-Extensions developers” teamhttps://launchpad.net/%7Egnome-shell-extensionsfor assistance with any problems you're having with it. The ppa isn't maintained by Neroth.
— Reply to this email directly or view it on GitHubhttps://github.com/Neroth/gnome-shell-extension-weather/issues/148#issuecomment-24012044 .
Hi Again,
I figured it out. For some reason, gweather vanished from the last Gnome update. I initiated the following apt command and vola! The extension is fixed:
sudo apt-get install gir1.2-gweather-3.0
I don't know if there is a more recent package but this one works.
Best regards! Ron
On Sun, Sep 8, 2013 at 10:18 AM, Ron Poulin rrpoulin@gmail.com wrote:
I found the PPA instructions in README.MD located in the zip file I downloaded from https://github.com/Neroth/gnome-shell-extension-weather
The instructions for Ubuntu are the following:
[Ubuntu, Mint, and derivatives](
https://launchpad.net/~gnome-shell-extensions/+archive/ppa/+packages)
Add the PPA ppa:gnome-shell-extensions to your source list, update the package list and install gnome-shell-extension-weather:
sudo add-apt-repository ppa:gnome-shell-extensions sudo apt-get update sudo apt-get install gnome-shell-extension-weather
I believe this PPA is maintained by Neroth. Noticed another comment on extensions.gnome.org indicating that the extension is not installing.
The error reported by the extension when I use the tweak tool to open the preferences is this:
Error: Requiring GWeather, version none: Typelib file for namespace 'GWeather' (any version) not found
Stack trace: @/usr/share/gnome-shell/extensions/ weather-extension@xeked.com/prefs.js:37 Application<._getExtensionPrefsModule@ /usr/share/gnome-shell/js/extensionPrefs/main.js:84 wrapper@/usr/share/gjs-1.0/lang.js:213 Application<._selectExtension@ /usr/share/gnome-shell/js/extensionPrefs/main.js:99 wrapper@/usr/share/gjs-1.0/lang.js:213 Application<._extensionSelected@ /usr/share/gnome-shell/js/extensionPrefs/main.js:119 wrapper@/usr/share/gjs-1.0/lang.js:213 Application<._selectExtension@ /usr/share/gnome-shell/js/extensionPrefs/main.js:110 wrapper@/usr/share/gjs-1.0/lang.js:213 Application<._extensionsLoaded@ /usr/share/gnome-shell/js/extensionPrefs/main.js:219 wrapper@/usr/share/gjs-1.0/lang.js:213 _emit@/usr/share/gjs-1.0/signals.js:124 ExtensionFinder<._extensionsLoaded@ /usr/share/gnome-shell/js/misc/extensionUtils.js:178 wrapper@/usr/share/gjs-1.0/lang.js:213 done@/usr/share/gnome-shell/js/misc/fileUtils.js:33 @/usr/share/gnome-shell/js/misc/fileUtils.js:51 onNextFileComplete@/usr/share/gnome-shell/js/misc/fileUtils.js:21 main@/usr/share/gnome-shell/js/extensionPrefs/main.js:276 @
:1 I do not know where to find the library called GWeather. Tweak Tool shows the extension has a load error but it does not say what the error is.
In the dpkg log I found this and probably the source of the problem:
2013-09-08 10:07:10 startup archives unpack 2013-09-08 10:07:10 install gnome-shell-extension-weather:all
0.2-0+20130810~raring1 2013-09-08 10:07:10 status half-installed gnome-shell-extension-weather:all 0.2-0+20130810~raring1 2013-09-08 10:07:11 status triggers-pending libglib2.0-0:i386 2.36.3-0ubuntu1~raring1 2013-09-08 10:07:11 status half-installed gnome-shell-extension-weather:all 0.2-0+20130810~raring1 2013-09-08 10:07:11 status unpacked gnome-shell-extension-weather:all 0.2-0+20130810~raring1 2013-09-08 10:07:11 status unpacked gnome-shell-extension-weather:all 0.2-0+20130810~raring1 2013-09-08 10:07:11 trigproc libglib2.0-0:i386 2.36.3-0ubuntu1~raring1 2.36.3-0ubuntu1~raring1 2013-09-08 10:07:11 status half-configured libglib2.0-0:i386 2.36.3-0ubuntu1~raring1 2013-09-08 10:07:11 status installed libglib2.0-0:i386 2.36.3-0ubuntu1~raring1 2013-09-08 10:07:12 startup packages configure 2013-09-08 10:07:12 configure gnome-shell-extension-weather:all 0.2-0+20130810~raring1 2013-09-08 10:07:12 status unpacked gnome-shell-extension-weather:all 0.2-0+20130810~raring1 2013-09-08 10:07:12 status half-configured gnome-shell-extension-weather:all 0.2-0+20130810~raring1 2013-09-08 10:07:12 status installed gnome-shell-extension-weather:all 0.2-0+20130810~raring1 Notice the pending trigger for libglib2.0? Don't know what to do about that. Looks like a failing package broke this extension. What do you think?
Ron
On Sat, Sep 7, 2013 at 5:42 PM, Frank Dana notifications@github.comwrote:
If it's this ppahttps://launchpad.net/%7Egnome-shell-extensions/+archive/ppa, I would suggest contacting the “Gnome-Shell-Extensions developers” teamhttps://launchpad.net/%7Egnome-shell-extensionsfor assistance with any problems you're having with it. The ppa isn't maintained by Neroth.
— Reply to this email directly or view it on GitHubhttps://github.com/Neroth/gnome-shell-extension-weather/issues/148#issuecomment-24012044 .
I'm https://launchpad.net/~gnome-shell-extensions/+archive/ppa maintainer and I've fixed building latest release of gnome-shell-extension-weather Ubuntu packages 3 weeks ago! (See https://github.com/Neroth/gnome-shell-extension-weather/issues/139 ) Neroth should remove debian folder from git repo - debian folder is not needed for launchpad repository, because there are official Debian/Ubuntu packages of gnome-shell-extension-weather. I improved gnome-shell-extension-weater packaging recipe 3 weeks ago - recipe uses debian folder from official Debian packages, see: https://code.launchpad.net/~gnome-shell-extensions/+recipe/gnome-shell-extension-weather and http://packages.debian.org/sid/gnome-shell-extension-weather So, please ask an author of gnome-shell-extension-weather (Neroth) to remove debian folder from git repo and then in https://launchpad.net/~gnome-shell-extensions/+archive/ppa will appear new correct packages for Ubuntu 13.x
I will do it now ;) !
After a gnome shell update, the extension vanished and I can no longer install/uninstall it. There is no error message.