Can't add location, current conditions stopped updating

Bug #1480533 reported by Shane Chambers
20
This bug affects 4 people
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/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/bin/indicator-weather", line 2827, in build_location
    result, error_type = self.location.prepare_location(geonames_details)
  File "/usr/bin/indicator-weather", line 367, in prepare_location
    self.location_details['longitude'])
  File "/usr/bin/indicator-weather", line 551, in prepare_time_zone
    utctime = dom.getElementsByTagName("utctime")[0].firstChild.nodeValue
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-clear-night', False, u'Fair')'
[Fetcher] 2015-08-01 03:42:34,495 - DEBUG - Weather: Get local datetime, url http://www.earthtools.org/timezone-1.1/30.26715/-97.74306
[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/indicator-weather", line 2097, in get_new_weather_data
    weather = self.get_weather()
  File "/usr/bin/indicator-weather", line 2238, in get_weather
    self.current_location.update_weather_data(self.weather_source)
  File "/usr/bin/indicator-weather", line 655, in update_weather_data
    self.location_details['dst'])
  File "/usr/bin/indicator-weather", line 918, in __init__
    self.get_sun_data()
  File "/usr/bin/indicator-weather", line 947, in get_sun_data

indicator-weather:
  Installed: 13.8.0
  Candidate: 13.8.0
  Version table:
 *** 13.8.0 0
        500 http://ppa.launchpad.net/noobslab/indicators/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Shane Chambers (shane-austinlinux) wrote :

FYI:

#: dpkg --list | fgrep -i pywapi
ii python-pywapi 0.3.8-0ubuntu0ppa1 all Python wrapper around different weather APIs

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.