Can't add location, current conditions stopped updating
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weather Indicator |
New
|
Undecided
|
Unassigned |
Bug Description
The Weather Indicator stopped updating current information. I thought to try updating the location, and trying a different location. This is the stack trace that came up;
$: indicator-weather
Exception in thread Location:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/bin/
result, error_type = self.location.
File "/usr/bin/
self.
File "/usr/bin/
utctime = dom.getElements
IndexError: list index out of range
Log file:
[MainThread] 2015-08-01 03:41:34,305 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
[MainThread] 2015-08-01 03:42:34,308 - DEBUG - Indicator: updateWeather: updating weather for [u'2357536', u'Austin']
[Cache] 2015-08-01 03:42:34,309 - DEBUG - Indicator: get_cached_weather: setting previous_condition to None
[Cache] 2015-08-01 03:42:34,309 - DEBUG - Indicator: loading weather from cache for [u'2357536', u'Austin']
[Fetcher] 2015-08-01 03:42:34,309 - DEBUG - Indicator: getWeather for location 'Austin, Texas, United States'
[Cache] 2015-08-01 03:42:34,309 - DEBUG - Settings: getting cached weather for 2357536
[Fetcher] 2015-08-01 03:42:34,309 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2015-08-01 03:42:34,309 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Austin'
[MainThread] 2015-08-01 03:42:34,309 - DEBUG - Indicator: update_label: setting label to '82 °F'
[Fetcher] 2015-08-01 03:42:34,494 - DEBUG - Weather: checking Yahoo report for weather condition and icon name
[Fetcher] 2015-08-01 03:42:34,495 - DEBUG - Weather: current condition: '33', '('weather-clear', 'weather-
[Fetcher] 2015-08-01 03:42:34,495 - DEBUG - Weather: Get local datetime, url http://
[Fetcher] 2015-08-01 03:42:34,633 - ERROR - list index out of range
[Fetcher] 2015-08-01 03:42:34,634 - DEBUG - Traceback (most recent call last):
File "/usr/bin/
weather = self.get_weather()
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
indicator-weather:
Installed: 13.8.0
Candidate: 13.8.0
Version table:
*** 13.8.0 0
500 http://
100 /var/lib/
FYI:
#: dpkg --list | fgrep -i pywapi
ii python-pywapi 0.3.8-0ubuntu0ppa1 all Python wrapper around different weather APIs