GNOME Bugzilla – Bug 787465
Sporadic failure to show weather info in GNOME Shell message tray
Last modified: 2017-12-01 21:25:08 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.
That's a bug in gnome-shell. It's not "conditions_to_string_full" but "to_string_full" on a GWeatherConditions object.
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 ***
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.
(In reply to Peter Y. Chuang from comment #3) > Sorry for having left the bug open. Nah, sorry for not checking the submitter date :-)