Here's the stack. I'll make the change and see how it goes.
[Fetcher] 2012-05-15 09:20:04,698 - DEBUG - Traceback (most recent call last): File "/usr/bin/indicator-weather", line 1397, in get_new_weather_data log.debug("Indicator: fill in menu with params: city='%s', temp='%s', humid='%s', wind='%s', sunrise='%s', sunset='%s', puretemp=%s" % (self.places[self.placechosen][1], weather.get_temperature_label(), weather.get_humidity_label(), weather.get_wind_label(), weather.get_sunrise_label(), weather.get_sunset_label(), weather.get_temperature())) File "/usr/bin/indicator-weather", line 898, in get_sunrise_label return "%s: %s" % (_("Sunrise"), TimeFormatter.format_time(self.__sunrise_t)) File "/usr/lib/python2.7/dist-packages/indicator_weather/helpers.py", line 248, in format_time return t.strftime(TimeFormatter.format) AttributeError: 'NoneType' object has no attribute 'strftime'
Here's the stack. I'll make the change and see how it goes.
[Fetcher] 2012-05-15 09:20:04,698 - DEBUG - Traceback (most recent call last): indicator- weather" , line 1397, in get_new_ weather_ data debug(" Indicator: fill in menu with params: city='%s', temp='%s', humid='%s', wind='%s', sunrise='%s', sunset='%s', puretemp=%s" % (self.places[ self.placechose n][1], weather. get_temperature _label( ), weather. get_humidity_ label() , weather. get_wind_ label() , weather. get_sunrise_ label() , weather. get_sunset_ label() , weather. get_temperature ())) indicator- weather" , line 898, in get_sunrise_label format_ time(self. __sunrise_ t)) python2. 7/dist- packages/ indicator_ weather/ helpers. py", line 248, in format_time TimeFormatter. format)
File "/usr/bin/
log.
File "/usr/bin/
return "%s: %s" % (_("Sunrise"), TimeFormatter.
File "/usr/lib/
return t.strftime(
AttributeError: 'NoneType' object has no attribute 'strftime'