Icons aren't being displayed

Asked by Ed Coates on 2012-04-15

I've just installed Indicator-Weather version 11.11.28 Cloudy 9 on my Ubuntu 11.10 installation. No icons are being displayed with the temperature, in the pulldown menu, or the forecast. I've tried changing from google to yahoo and they still don't work.

Question information

Language:
English Edit question
Status:
Answered
For:
Weather Indicator Edit question
Assignee:
No assignee Edit question
Last query:
2012-04-15
Last reply:
2012-04-27
lix (lix-lix) said : #1

Same for me on GNU/Linux Ubuntu 12.04.

Vadim Rutkovsky (roignac) said : #2

lix, please add logs (~/.cache/indicator-weather.log) to the related bug and change state to New

lix (lix-lix) said : #3

done

Harald (h-van-der-laan) said : #4

[MainThread] 2012-07-27 11:53:00,026 - DEBUG - Indicator: Quitting
[Dummy-2] 2012-07-27 11:53:00,035 - DEBUG - SingleInstance: deleting /tmp/indicator-weather-1000.pid
[MainThread] 2012-07-27 11:53:10,607 - INFO - ------------------------------
[MainThread] 2012-07-27 11:53:10,607 - INFO - Started Weather Indicator from /usr
[MainThread] 2012-07-27 11:53:10,607 - INFO - Weather Indicator version 11.11.28 'Cloudy 9'
[MainThread] 2012-07-27 11:53:10,607 - DEBUG - SingleInstance: writing new pid 6664
[MainThread] 2012-07-27 11:53:10,612 - DEBUG - ProxyMonitor: loading gconf settings
[MainThread] 2012-07-27 11:53:10,612 - DEBUG - ProxyMonitor: using direct connection
[MainThread] 2012-07-27 11:53:10,613 - DEBUG - TimeFormatter: loading indicator-datetime settings: com.canonical.indicator.datetime
[MainThread] 2012-07-27 11:53:10,613 - DEBUG - Time Formatter: time format changed
[MainThread] 2012-07-27 11:53:10,613 - DEBUG - Indicator: creating
[MainThread] 2012-07-27 11:53:10,616 - INFO - Monitoring UPower interface
[MainThread] 2012-07-27 11:53:10,617 - DEBUG - Indicator: reading settings
[MainThread] 2012-07-27 11:53:10,617 - DEBUG - Settings: preparing settings store
[MainThread] 2012-07-27 11:53:10,617 - DEBUG - Settings: getting value for refresh_rate
[MainThread] 2012-07-27 11:53:10,617 - DEBUG - Settings: getting value for unit
[MainThread] 2012-07-27 11:53:10,617 - DEBUG - Settings: getting value for notif
[MainThread] 2012-07-27 11:53:10,617 - DEBUG - Settings: getting value for wind
[MainThread] 2012-07-27 11:53:10,617 - DEBUG - Settings: getting value for data_source
[MainThread] 2012-07-27 11:53:10,617 - DEBUG - Settings: getting value for placechosen
[MainThread] 2012-07-27 11:53:10,617 - DEBUG - Settings: getting value for places
[MainThread] 2012-07-27 11:53:10,618 - DEBUG - Settings: getting value for show_label
[MainThread] 2012-07-27 11:53:10,618 - DEBUG - Preferences: got settings: rate=5, unit=S, notif=O, wind=mps, placechosen=0, places=[['728940', 'Ede']]
[MainThread] 2012-07-27 11:53:10,618 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[MainThread] 2012-07-27 11:53:10,622 - DEBUG - Indicator: update_label: setting label to ' '
[MainThread] 2012-07-27 11:53:10,622 - DEBUG - Indicator: updateWeather: updating weather for ['728940', 'Ede']
[Cache] 2012-07-27 11:53:10,622 - DEBUG - Settings: getting cached weather for 728940
[Cache] 2012-07-27 11:53:10,622 - DEBUG - Settings: can't find value for 728940
[Fetcher] 2012-07-27 11:53:10,622 - DEBUG - Indicator: getWeather for location 'Ede, Gelderland, Netherlands'
[Fetcher] 2012-07-27 11:53:10,623 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2012-07-27 11:53:10,623 - DEBUG - Location: default weather source 'Google' chosen for 'Ede'
[Fetcher] 2012-07-27 11:53:10,729 - DEBUG - Weather: current condition: 'mostly_cloudy', '('weather-overcast', 'weather-overcast', False)'
[MainThread] 2012-07-27 11:53:19,070 - DEBUG - Indicator: open Forecast
[MainThread] 2012-07-27 11:53:19,070 - DEBUG - ExtendedForecast: creating
[MainThread] 2012-07-27 11:53:19,074 - DEBUG - ExtendedForecast: finishing initialization
[MainThread] 2012-07-27 11:53:19,075 - DEBUG - ExtendedForecast: chosen place: Ede (code 728940)
[MainThread] 2012-07-27 11:53:19,075 - DEBUG - ExtendedForecast: getting forecast data
[MainThread] 2012-07-27 11:53:19,118 - DEBUG - ExtendedForecast: parsing forecast data
[Fetcher] 2012-07-27 11:53:21,247 - ERROR - Weather: error reaching url 'http://www.earthtools.org/timezone-1.1/52.033333/5.658333'
[Fetcher] 2012-07-27 11:53:21,247 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2012-07-27 11:53:21,247 - DEBUG - Indicator: updateWeather: got condition 'None', icon 'None'
[Fetcher] 2012-07-27 11:53:21,247 - DEBUG - Weather: day, show 'weather-overcast' icon
[Fetcher] 2012-07-27 11:53:21,248 - ERROR - 'NoneType' object has no attribute 'strftime'
[Fetcher] 2012-07-27 11:53:21,249 - 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'

[MainThread] 2012-07-27 11:53:23,416 - DEBUG - ExtendedForecast: closing window
[MainThread] 2012-07-27 11:53:53,156 - DEBUG - Indicator: open Forecast
[MainThread] 2012-07-27 11:53:53,156 - DEBUG - ExtendedForecast: creating
[MainThread] 2012-07-27 11:53:53,167 - DEBUG - ExtendedForecast: finishing initialization
[MainThread] 2012-07-27 11:53:53,168 - DEBUG - ExtendedForecast: chosen place: Ede (code 728940)
[MainThread] 2012-07-27 11:53:53,169 - DEBUG - ExtendedForecast: getting forecast data
[MainThread] 2012-07-27 11:53:53,227 - DEBUG - ExtendedForecast: parsing forecast data
[MainThread] 2012-07-27 11:54:01,334 - DEBUG - ExtendedForecast: closing window
[Dummy-2] 2012-07-27 11:54:08,536 - DEBUG - SingleInstance: deleting /tmp/indicator-weather-1000.pid
[MainThread] 2012-07-27 11:54:11,136 - INFO - ------------------------------
[MainThread] 2012-07-27 11:54:11,136 - INFO - Started Weather Indicator from /usr
[MainThread] 2012-07-27 11:54:11,136 - INFO - Weather Indicator version 11.11.28 'Cloudy 9'
[MainThread] 2012-07-27 11:54:11,137 - DEBUG - SingleInstance: writing new pid 6687
[MainThread] 2012-07-27 11:54:11,140 - DEBUG - ProxyMonitor: loading gconf settings
[MainThread] 2012-07-27 11:54:11,140 - DEBUG - ProxyMonitor: using direct connection
[MainThread] 2012-07-27 11:54:11,141 - DEBUG - TimeFormatter: loading indicator-datetime settings: com.canonical.indicator.datetime
[MainThread] 2012-07-27 11:54:11,141 - DEBUG - Time Formatter: time format changed
[MainThread] 2012-07-27 11:54:11,141 - DEBUG - Indicator: creating
[MainThread] 2012-07-27 11:54:11,145 - INFO - Monitoring UPower interface
[MainThread] 2012-07-27 11:54:11,145 - DEBUG - Indicator: reading settings
[MainThread] 2012-07-27 11:54:11,145 - DEBUG - Settings: preparing settings store
[MainThread] 2012-07-27 11:54:11,145 - DEBUG - Settings: getting value for refresh_rate
[MainThread] 2012-07-27 11:54:11,145 - DEBUG - Settings: getting value for unit
[MainThread] 2012-07-27 11:54:11,145 - DEBUG - Settings: getting value for notif
[MainThread] 2012-07-27 11:54:11,145 - DEBUG - Settings: getting value for wind
[MainThread] 2012-07-27 11:54:11,146 - DEBUG - Settings: getting value for data_source
[MainThread] 2012-07-27 11:54:11,146 - DEBUG - Settings: getting value for placechosen
[MainThread] 2012-07-27 11:54:11,146 - DEBUG - Settings: getting value for places
[MainThread] 2012-07-27 11:54:11,146 - DEBUG - Settings: getting value for show_label
[MainThread] 2012-07-27 11:54:11,146 - DEBUG - Preferences: got settings: rate=5, unit=S, notif=O, wind=mps, placechosen=0, places=[['728940', 'Ede']]
[MainThread] 2012-07-27 11:54:11,146 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[MainThread] 2012-07-27 11:54:11,150 - DEBUG - Indicator: update_label: setting label to ' '
[MainThread] 2012-07-27 11:54:11,150 - DEBUG - Indicator: updateWeather: updating weather for ['728940', 'Ede']
[Cache] 2012-07-27 11:54:11,150 - DEBUG - Settings: getting cached weather for 728940
[Cache] 2012-07-27 11:54:11,151 - DEBUG - Settings: can't find value for 728940
[Fetcher] 2012-07-27 11:54:11,151 - DEBUG - Indicator: getWeather for location 'Ede, Gelderland, Netherlands'
[Fetcher] 2012-07-27 11:54:11,151 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2012-07-27 11:54:11,151 - DEBUG - Location: default weather source 'Google' chosen for 'Ede'
[Fetcher] 2012-07-27 11:54:11,265 - DEBUG - Weather: current condition: 'mostly_cloudy', '('weather-overcast', 'weather-overcast', False)'
[MainThread] 2012-07-27 11:54:21,697 - DEBUG - Indicator: open About dialog
[MainThread] 2012-07-27 11:54:38,728 - DEBUG - Indicator: closing About dialog

Can you help with this problem?

Provide an answer of your own, or ask Ed Coates for more information if necessary.

To post a message you must log in.