After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787465 - Sporadic failure to show weather info in GNOME Shell message tray
Sporadic failure to show weather info in GNOME Shell message tray
Status: RESOLVED DUPLICATE of bug 787423
Product: gnome-shell
Classification: Core
Component: calendar
3.25.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-09 07:28 UTC by Peter Y. Chuang
Modified: 2017-12-01 21:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Y. Chuang 2017-09-09 07:28:27 UTC
I am not sure if this is a problem with GNOME Shell, GNOME Weather, libgweather, or gjs. The weather section of GNOME Shell message tray sometimes (for a few hours, perhaps) fail to load. When that happens, the following log appears:


Sep 09 09:21:47 desktop gnome-shell[1075]: JS ERROR: Exception in callback for signal: changed: TypeError: GWeather.conditions_to_string_full is not a function
                                           WeatherSection<._getSummary@resource:///org/gnome/shell/ui/dateMenu.js:242:20
                                           wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                           WeatherSection<._getSummaryText/summaries<@resource:///org/gnome/shell/ui/dateMenu.js:302:20
                                           WeatherSection<._getSummaryText@resource:///org/gnome/shell/ui/dateMenu.js:300:25
                                           wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                           WeatherSection<._getLabelText@resource:///org/gnome/shell/ui/dateMenu.js:316:20
                                           wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                           WeatherSection<._sync@resource:///org/gnome/shell/ui/dateMenu.js:332:38
                                           wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                           _emit@resource:///org/gnome/gjs/modules/signals.js:126:27
                                           WeatherClient<._init/<@resource:///org/gnome/shell/misc/weather.js:64:13

I have not been able to work out the exact circumstances that trigger this error.
Comment 1 Bastien Nocera 2017-12-01 14:33:17 UTC
That's a bug in gnome-shell. It's not "conditions_to_string_full" but "to_string_full" on a GWeatherConditions object.
Comment 2 Florian Müllner 2017-12-01 15:27:33 UTC
Are you really using a 3.25.x version? This issue should be fixed since 3.26.1, see bug 787423.

*** This bug has been marked as a duplicate of bug 787423 ***
Comment 3 Peter Y. Chuang 2017-12-01 21:22:39 UTC
The bug was first filed when it was still 3.25.x, and I think you are right that the bug has been fixed at some point, not sure when though. Sorry for having left the bug open.
Comment 4 Florian Müllner 2017-12-01 21:25:08 UTC
(In reply to Peter Y. Chuang from comment #3)
> Sorry for having left the bug open.

Nah, sorry for not checking the submitter date :-)