Comment 18 for bug 743840

Revision history for this message
Rocko (rockorequin) wrote :

I tried a nearby location and got this error trying to get the forecast:

DEBUG:IndicatorWeather:Indicator: open Forecast
DEBUG:IndicatorWeather:ExtendedForecast: creating
DEBUG:IndicatorWeather:ExtendedForecast: finishing initialization
DEBUG:IndicatorWeather:ExtendedForecast: chosen place: Perth (Melville) (code 1107190)
DEBUG:IndicatorWeather:ExtendedForecast: getting forecast data
Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1232, in extforecast
    self.forecastwd = ExtendedForecast()
  File "/usr/bin/indicator-weather", line 1438, in __new__
    new_object.finish_initializing(builder)
  File "/usr/bin/indicator-weather", line 1452, in finish_initializing
    forecast.prepare_forecast_data()
  File "/usr/bin/indicator-weather", line 331, in prepare_forecast_data
    self.unitsystem = self.forecast['forecast_information']['unit_system']
KeyError: 'unit_system'