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

NOT WORKING ON FEDORA 30 #252

Open rpeyi opened 4 years ago

rpeyi commented 4 years ago

Here is error log: The settings of extension weather-extension@xeked.com had an error:

TypeError: GWeather.Location.new_world is not a function

Stack trace:

@/home/rpeyi/.local/share/gnome-shell/extensions/weather-extension@xeked.com/prefs.js:100:10
_getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:59:13
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:74:31
_onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:320:17
main@resource:///org/gnome/shell/extensionPrefs/main.js:635:5
@<main>:1:43
HinTak commented 4 years ago

See #249 - works now with fc 31

remoteclient commented 4 years ago

See #249 - works now with fc 31

And the author stated that he is on fedora 30. So it is nice that it works on fedora 31. But the comment isn't of any help.

HinTak commented 4 years ago

Again, see #249 - it did work with fedora 30, just not quite correctly (multiple panels), and got much better with fc 31. Since fc 31 has been released for a few months, my suggestion was to upgrade. Why was that not useful?!

The author could have been on fc31 regardless / independently by now, and therefore no longer interested in this...

remoteclient commented 4 years ago

For stability reasons I am always one Fedora version behind. So I will upgrade Fedora to v31 when v32 comes out. I also can't use the weather extension, cause it gives me the same error. So would be nice if the extension got fixed.

ebdavison commented 4 years ago

I have the same problem on fc 30 and would really appreciate it if this would work properly.

evlogii commented 4 years ago

Same error on Fedora 31 after fresh install.

TypeError: GWeather.Location.new_world is not a function

Stack trace:

  @/home/evlogii/.local/share/gnome-shell/extensions/weather-extension@xeked.com/prefs.js:100:10
  get prefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:675:13
  _showPrefs@resource:///org/gnome/shell/extensionPrefs/main.js:57:13
  _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
[evlogii@workstation ~]$ neofetch
          /:-------------:\          evlogii@workstation 
       :-------------------::        ------------------- 
     :-----------/shhOHbmp---:\      OS: Fedora 31 (Workstation Edition) x86_64 
   /-----------omMMMNNNMMD  ---:     Kernel: 5.5.8-200.fc31.x86_64 
  :-----------sMMMMNMNMP.    ---:    Uptime: 1 hour, 3 mins 
 :-----------:MMMdP-------    ---\   Packages: 1898 (rpm), 7 (flatpak) 
,------------:MMMd--------    ---:   Shell: bash 5.0.11 
:------------:MMMd-------    .---:   Resolution: 1920x1200 
:----    oNMMMMMMMMMNho     .----:   DE: GNOME 3.34.4 
:--     .+shhhMMMmhhy++   .------/   Theme: Adwaita [GTK2/3] 
:-    -------:MMMd--------------:    Icons: Adwaita [GTK2/3] 
:-   --------/MMMd-------------;     Terminal: gnome-terminal 
:-    ------/hMMMy------------:      CPU: Genuine Intel (24) @ 2.500GHz 
:-- :dMNdhhdNMMNo------------;       GPU: AMD ATI Radeon RX 470/480/570/570X/58 
:---:sdNMMMMNds:------------:        Memory: 5077MiB / 32030MiB 
:------:://:-------------::
:---------------------://   
HinTak commented 4 years ago

Probably https://github.com/Neroth/gnome-shell-extension-weather/pull/256 - anyway, that fix is for fedora 32. It was working fine for me in fc31

HinTak commented 4 years ago

053c5be that line about new_world was corrected in April 2018 . Please upgrade.