Neroth / gnome-shell-extension-weather

A simple extension for displaying weather informations from several cities in GNOME Shell
GNU General Public License v3.0
138 stars 143 forks source link

Can not work on fedora20 (Gnome 3.10.3) #190

Closed ThereAndHere closed 10 years ago

ThereAndHere commented 10 years ago

Can not work on fedora20 (Gnome 3.10.3) gnome-session[2949]: (gnome-shell:3104): Gjs-WARNING **: JS ERROR: TypeError: forecastList[(intermediate value)].get_value_update is not a function gnome-session[2949]: Weather<.loadForecast@/home/T/.local/share/gnome-shell/extensions/weather-extension@xeked.com/extension.js:441 gnome-session[2949]: wrapper@/usr/share/gjs-1.0/lang.js:213 gnome-session[2949]: Weather<.refresh@/home/T/.local/share/gnome-shell/extensions/weather-extension@xeked.com/extension.js:349 thereandhere gnome-session[2949]: wrapper@/usr/share/gjs-1.0/lang.js:213 thereandhere gnome-session[2949]: @/home/T/.local/share/gnome-shell/extensions/weather-extension@xeked.com/extension.js:168

ferdnyc commented 10 years ago

Hmm. That's odd. I just checked, and I have the extension working with no problems in Fedora 20. There are other reports of success with GNOME 3.10 there, as well.

It looks like what I'm running is just the extensions.gnome.org version, unmodified as far as I can tell. (I typically keep backup files around if I modify anything, or I throw the code in a local git repo first. But I see neither.)

Do you have the most recent version installed from https://extensions.gnome.org/extension/613/weather/ ?

Also, get_value_update() is a method on the GWeather.Info object, it'll break if libgweather isn't available. Make sure libgweather-3.10.1-1.fc20 is installed on your system. (If you upgraded from an earlier Fedora release, it's possible it used to be there but got removed during the upgrade. I've never quite figured out how or why that happens.)