weather indicator crash, doesn't show proper icon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weather Indicator |
New
|
Undecided
|
Unassigned |
Bug Description
Here's the relevant part of the log, looks to be an error parsing Yahoo! data:
[MainThread] 2014-11-11 20:56:18,089 - DEBUG - Indicator: open About dialog
[MainThread] 2014-11-11 20:56:22,771 - DEBUG - Indicator: closing About dialog
[MainThread] 2014-11-11 21:03:38,357 - DEBUG - Indicator: updateWeather: updating weather for [u'2497409', u'Spearfish']
[Cache] 2014-11-11 21:03:38,358 - DEBUG - Indicator: get_cached_weather: setting previous_condition to None
[Cache] 2014-11-11 21:03:38,359 - DEBUG - Indicator: loading weather from cache for [u'2497409', u'Spearfish']
[Cache] 2014-11-11 21:03:38,359 - DEBUG - Settings: getting cached weather for 2497409
[Cache] 2014-11-11 21:03:38,359 - DEBUG - Settings: can't find value for 2497409
[Fetcher] 2014-11-11 21:03:38,359 - DEBUG - Indicator: getWeather for location 'Spearfish, South Dakota, United States'
[Fetcher] 2014-11-11 21:03:38,360 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2014-11-11 21:03:38,360 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Spearfish'
[MainThread] 2014-11-11 21:03:38,360 - DEBUG - Indicator: show_cached_
[Fetcher] 2014-11-11 21:03:38,767 - DEBUG - Weather: checking Yahoo report for weather condition and icon name
[Fetcher] 2014-11-11 21:03:38,767 - DEBUG - Weather: current condition: '14', '('weather-snow', 'weather-snow', False, u'Light snow showers')'
[Fetcher] 2014-11-11 21:03:38,767 - DEBUG - Weather: Get local datetime, url http://
[Fetcher] 2014-11-11 21:03:39,186 - DEBUG - Weather: Get sunrise/sunset data, url http://
[Fetcher] 2014-11-11 21:03:39,556 - DEBUG - Weather: got localtime 2014-11-11 21:03:40, sunrise '2014-11-11 06:46:29-07:00', sunset '2014-11-11 16:31:58-07:00', night = True
[MainThread] 2014-11-11 21:03:39,557 - DEBUG - Weather: night, show 'weather-snow' icon
[MainThread] 2014-11-11 21:03:39,557 - DEBUG - Weather: got condition 'Light snow showers'
[MainThread] 2014-11-11 21:03:39,557 - DEBUG - Weather: night, show 'weather-snow' icon
[MainThread] 2014-11-11 21:03:39,557 - DEBUG - Indicator: updateWeather: got condition 'Light snow showers', icon 'weather-snow'
[MainThread] 2014-11-11 21:03:39,558 - ERROR - Could not parse '' as wind speed.
[MainThread] 2014-11-11 21:03:39,558 - DEBUG - Indicator: fill in menu with params: citycode='2497409', temp='Temperature: 0 °F', humid='Humidity: 66%', wind='Wind: N/A ', sunrise='Sunrise: 06:46:29 AM', sunset='Sunset: 04:31:58 PM', puretemp=0 °F
[MainThread] 2014-11-11 21:03:39,558 - DEBUG - show_new_
[MainThread] 2014-11-11 21:03:39,559 - DEBUG - show_new_
[MainThread] 2014-11-11 21:03:39,559 - DEBUG - show_new_
[MainThread] 2014-11-11 21:03:39,559 - DEBUG - show_new_
[MainThread] 2014-11-11 21:03:39,560 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2014-11-11 21:03:39,560 - ERROR - could not convert string to float:
[MainThread] 2014-11-11 21:03:39,560 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
_relative_label = weather.
File "/usr/bin/
return "%s: %s" % (_("Feels Like"), self.get_
File "/usr/bin/
(_value, _unit) = self.get_
File "/usr/bin/
V = float(self.
ValueError: could not convert string to float: