[MainThread] 2013-09-11 15:45:02,912 - INFO - ------------------------------------------------------------------------ [MainThread] 2013-09-11 15:45:02,912 - INFO - Started Weather Indicator from /usr [MainThread] 2013-09-11 15:45:02,912 - INFO - Weather Indicator version 13.06.01 'Rainy 7' [MainThread] 2013-09-11 15:45:02,912 - INFO - Python Weather API version 0.3.6 [MainThread] 2013-09-11 15:45:02,912 - DEBUG - SingleInstance: writing new pid 11991 [MainThread] 2013-09-11 15:45:02,913 - DEBUG - ProxyMonitor: loading dconf settings [MainThread] 2013-09-11 15:45:02,913 - ERROR - ProxyMonitor: empty proxy host! [MainThread] 2013-09-11 15:45:02,913 - DEBUG - ProxyMonitor: using direct connection [MainThread] 2013-09-11 15:45:02,913 - DEBUG - TimeFormatter: loading indicator-datetime settings: com.canonical.indicator.datetime [MainThread] 2013-09-11 15:45:02,913 - DEBUG - TimeFormatter: time format changed [MainThread] 2013-09-11 15:45:02,913 - INFO - Locale set to 'en_CA' [MainThread] 2013-09-11 15:45:02,914 - DEBUG - Indicator: creating [MainThread] 2013-09-11 15:45:02,917 - INFO - Monitoring UPower interface [MainThread] 2013-09-11 15:45:02,917 - DEBUG - Indicator: reading settings [MainThread] 2013-09-11 15:45:02,917 - DEBUG - Settings: preparing settings store [MainThread] 2013-09-11 15:45:02,918 - DEBUG - Settings: getting value for refresh_rate [MainThread] 2013-09-11 15:45:02,918 - DEBUG - Settings: getting value for unit [MainThread] 2013-09-11 15:45:02,918 - DEBUG - Settings: getting value for notif [MainThread] 2013-09-11 15:45:02,918 - DEBUG - Settings: getting value for wind [MainThread] 2013-09-11 15:45:02,918 - DEBUG - Settings: getting value for heat [MainThread] 2013-09-11 15:45:02,918 - DEBUG - Settings: getting value for chill [MainThread] 2013-09-11 15:45:02,918 - DEBUG - Settings: getting value for data_source [MainThread] 2013-09-11 15:45:02,918 - DEBUG - Settings: getting value for placechosen [MainThread] 2013-09-11 15:45:02,918 - DEBUG - Settings: getting value for places [MainThread] 2013-09-11 15:45:02,918 - DEBUG - Settings: getting value for show_label [MainThread] 2013-09-11 15:45:02,919 - DEBUG - Settings: getting value for show_relative [MainThread] 2013-09-11 15:45:02,919 - DEBUG - Settings: getting value for show_wind [MainThread] 2013-09-11 15:45:02,919 - DEBUG - Settings: getting value for show_suntimes [MainThread] 2013-09-11 15:45:02,919 - DEBUG - Preferences: got settings: rate=15, unit=S, notif=N, wind=mph, placechosen=0, places=[], heat=humidex, chill=windchill [MainThread] 2013-09-11 15:45:02,919 - DEBUG - Indicator: could not parse places [MainThread] 2013-09-11 15:45:02,919 - DEBUG - Indicator: making a menu for no places [MainThread] 2013-09-11 15:45:05,114 - DEBUG - Indicator: open Preferences [MainThread] 2013-09-11 15:45:05,115 - DEBUG - Preferences: creating [MainThread] 2013-09-11 15:45:05,140 - DEBUG - Preferences: finishing initialization [MainThread] 2013-09-11 15:45:05,140 - DEBUG - Preferences: got settings: unit=S, notif=N, wind=mph, rate=15, source=Y, heat=humidex, chill=windchill [MainThread] 2013-09-11 15:45:05,142 - DEBUG - Preferences: Loading places [MainThread] 2013-09-11 15:45:08,624 - DEBUG - Preferences: Add location clicked [MainThread] 2013-09-11 15:45:08,625 - DEBUG - Assistant: creating new Assistance instance [MainThread] 2013-09-11 15:45:08,634 - DEBUG - Assistant: finishing initialization [MainThread] 2013-09-11 15:45:08,635 - DEBUG - Assistant: setting up location combobox [MainThread] 2013-09-11 15:45:08,647 - DEBUG - Assistant: moved to page 0 [MainThread] 2013-09-11 15:45:08,647 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:08,647 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:08,648 - DEBUG - Assistant: moved to page 0 [MainThread] 2013-09-11 15:45:08,648 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:08,648 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:08,648 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:08,648 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:08,649 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:12,535 - DEBUG - Assistant: looking for location 'Medicine Hat' [MainThread] 2013-09-11 15:45:12,536 - DEBUG - Assistant: Search Geonames location details, url http://api.geonames.org/searchJSON?q=Medicine+Hat&lang=en&username=indicatorweather&maxRows=10&featureClass=P [MainThread] 2013-09-11 15:45:13,613 - DEBUG - Assistant: moved to page 0 [MainThread] 2013-09-11 15:45:13,614 - DEBUG - Assistant: Page 0: got location with code 6071618 [MainThread] 2013-09-11 15:45:13,614 - DEBUG - Location: Get GeoNames location details, url http://api.geonames.org/getJSON?geonameId=6071618&username=indicatorweather [MainThread] 2013-09-11 15:45:14,134 - DEBUG - Location name is Medicine Hat, Alberta, Canada [MainThread] 2013-09-11 15:45:14,360 - DEBUG - Location: woeid is 8623 [MainThread] 2013-09-11 15:45:14,360 - DEBUG - Location: Get Yahoo RSS ID, url http://weather.yahooapis.com/forecastrss?w=8623 [MainThread] 2013-09-11 15:45:14,615 - DEBUG - Location: yahoo id is CAXX0282 [MainThread] 2013-09-11 15:45:14,616 - DEBUG - Location: Get GeoNames location details, url http://api.geonames.org/getJSON?geonameId=6071618&username=indicatorweather [MainThread] 2013-09-11 15:45:15,430 - DEBUG - Location: location id is CAXX0282 [MainThread] 2013-09-11 15:45:15,431 - DEBUG - Location: Get utc datetime, url http://www.earthtools.org/timezone-1.1/50.05006/-110.66834 [MainThread] 2013-09-11 15:45:15,655 - DEBUG - Location: Get location timezone details, url https://maps.googleapis.com/maps/api/timezone/json?timestamp=1378935915&sensor=false&location=50.05006%2C-110.66834 [MainThread] 2013-09-11 15:45:15,935 - DEBUG - Assistant: Page 0: City Medicine Hat, Alberta, Canada found [MainThread] 2013-09-11 15:45:15,935 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:15,936 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:16,439 - DEBUG - Assistant: moved to page 0 [MainThread] 2013-09-11 15:45:16,442 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:16,443 - DEBUG - Assistant: Page 1: City label is Medicine Hat [MainThread] 2013-09-11 15:45:17,360 - DEBUG - Assistant: moved to page 1 [MainThread] 2013-09-11 15:45:17,361 - DEBUG - Assistant: Page 1: City label is Medicine Hat [MainThread] 2013-09-11 15:45:17,874 - DEBUG - Assistant: Apply: adding location ('Medicine Hat', '8623') [MainThread] 2013-09-11 15:45:17,875 - DEBUG - Settings: setting '8623'='{'google id': ',,,50050060,-110668340', 'weather-com id': u'CAXX0282', 'dst': True, 'longitude': '-110.66834', 'yahoo id': u'CAXX0282', 'latitude': '50.05006', 'label': u'Medicine Hat', 'full name': 'Medicine Hat, Alberta, Canada', 'timezone id': u'America/Edmonton'}' [MainThread] 2013-09-11 15:45:17,876 - DEBUG - Assistant: moved to page -1 [MainThread] 2013-09-11 15:45:18,968 - DEBUG - Preferences: Saving settings [MainThread] 2013-09-11 15:45:18,969 - DEBUG - Preferences: Places changed to '[['8623', u'Medicine Hat']]' [MainThread] 2013-09-11 15:45:18,969 - DEBUG - Settings: setting 'places'='[["8623", "Medicine Hat"]]' [MainThread] 2013-09-11 15:45:19,594 - DEBUG - Preferences: Cancelling [MainThread] 2013-09-11 15:45:21,440 - DEBUG - Indicator: Quitting [Dummy-2] 2013-09-11 15:45:21,449 - DEBUG - SingleInstance: deleting /tmp/indicator-weather-1000.pid [MainThread] 2013-09-11 15:45:24,989 - INFO - ------------------------------------------------------------------------ [MainThread] 2013-09-11 15:45:24,989 - INFO - Started Weather Indicator from /usr [MainThread] 2013-09-11 15:45:24,989 - INFO - Weather Indicator version 13.06.01 'Rainy 7' [MainThread] 2013-09-11 15:45:24,990 - INFO - Python Weather API version 0.3.6 [MainThread] 2013-09-11 15:45:24,990 - DEBUG - SingleInstance: writing new pid 12033 [MainThread] 2013-09-11 15:45:24,990 - DEBUG - ProxyMonitor: loading dconf settings [MainThread] 2013-09-11 15:45:24,990 - ERROR - ProxyMonitor: empty proxy host! [MainThread] 2013-09-11 15:45:24,990 - DEBUG - ProxyMonitor: using direct connection [MainThread] 2013-09-11 15:45:24,991 - DEBUG - TimeFormatter: loading indicator-datetime settings: com.canonical.indicator.datetime [MainThread] 2013-09-11 15:45:24,991 - DEBUG - TimeFormatter: time format changed [MainThread] 2013-09-11 15:45:24,991 - INFO - Locale set to 'en_CA' [MainThread] 2013-09-11 15:45:24,991 - DEBUG - Indicator: creating [MainThread] 2013-09-11 15:45:24,995 - INFO - Monitoring UPower interface [MainThread] 2013-09-11 15:45:24,995 - DEBUG - Indicator: reading settings [MainThread] 2013-09-11 15:45:24,995 - DEBUG - Settings: preparing settings store [MainThread] 2013-09-11 15:45:24,995 - DEBUG - Settings: getting value for refresh_rate [MainThread] 2013-09-11 15:45:24,995 - DEBUG - Settings: getting value for unit [MainThread] 2013-09-11 15:45:24,995 - DEBUG - Settings: getting value for notif [MainThread] 2013-09-11 15:45:24,995 - DEBUG - Settings: getting value for wind [MainThread] 2013-09-11 15:45:24,996 - DEBUG - Settings: getting value for heat [MainThread] 2013-09-11 15:45:24,996 - DEBUG - Settings: getting value for chill [MainThread] 2013-09-11 15:45:24,996 - DEBUG - Settings: getting value for data_source [MainThread] 2013-09-11 15:45:24,996 - DEBUG - Settings: getting value for placechosen [MainThread] 2013-09-11 15:45:24,996 - DEBUG - Settings: getting value for places [MainThread] 2013-09-11 15:45:24,996 - DEBUG - Settings: getting value for show_label [MainThread] 2013-09-11 15:45:24,996 - DEBUG - Settings: getting value for show_relative [MainThread] 2013-09-11 15:45:24,996 - DEBUG - Settings: getting value for show_wind [MainThread] 2013-09-11 15:45:24,996 - DEBUG - Settings: getting value for show_suntimes [MainThread] 2013-09-11 15:45:24,996 - DEBUG - Preferences: got settings: rate=15, unit=S, notif=N, wind=mph, placechosen=0, places=[["8623", "Medicine Hat"]], heat=humidex, chill=windchill [MainThread] 2013-09-11 15:45:24,997 - DEBUG - Indicator: updateWeather: updating weather for [u'8623', u'Medicine Hat'] [Cache] 2013-09-11 15:45:24,997 - DEBUG - Indicator: get_cached_weather: setting previous_condition to None [Fetcher] 2013-09-11 15:45:24,997 - DEBUG - Indicator: getWeather for location 'Medicine Hat, Alberta, Canada' [Cache] 2013-09-11 15:45:24,997 - DEBUG - Indicator: loading weather from cache for [u'8623', u'Medicine Hat'] [Fetcher] 2013-09-11 15:45:24,997 - DEBUG - Indicator: getWeather: updating weather report [Cache] 2013-09-11 15:45:24,997 - DEBUG - Settings: getting cached weather for 8623 [Fetcher] 2013-09-11 15:45:24,998 - DEBUG - Location: default weather source 'Yahoo' chosen for 'Medicine Hat' [Cache] 2013-09-11 15:45:24,998 - DEBUG - Settings: can't find value for 8623 [MainThread] 2013-09-11 15:45:25,005 - DEBUG - Indicator: show_cached_weather: no cached data exists for 8623 [Fetcher] 2013-09-11 15:45:25,170 - DEBUG - Weather: checking Yahoo report for weather condition and icon name [Fetcher] 2013-09-11 15:45:25,170 - DEBUG - Weather: current condition: '32', '('weather-clear', 'weather-clear-night', False, u'Sunny')' [Fetcher] 2013-09-11 15:45:25,170 - DEBUG - Weather: Get local datetime, url http://www.earthtools.org/timezone-1.1/50.05006/-110.66834 [Fetcher] 2013-09-11 15:45:25,395 - DEBUG - Weather: Get sunrise/sunset data, url http://api.met.no/weatherapi/sunrise/1.0/?lat=50.05006;lon=-110.66834;date=2013-09-11 [Fetcher] 2013-09-11 15:45:25,832 - DEBUG - Weather: got localtime 2013-09-11 14:45:25, sunrise '2013-09-11 06:53:03-06:00', sunset '2013-09-11 19:44:13-06:00', night = False [MainThread] 2013-09-11 15:45:25,833 - DEBUG - Weather: day, show 'weather-clear' icon [MainThread] 2013-09-11 15:45:25,833 - DEBUG - Weather: got condition 'Sunny' [MainThread] 2013-09-11 15:45:25,833 - DEBUG - Weather: day, show 'weather-clear' icon [MainThread] 2013-09-11 15:45:25,833 - DEBUG - Indicator: updateWeather: got condition 'Sunny', icon 'weather-clear' [MainThread] 2013-09-11 15:45:25,834 - DEBUG - Indicator: fill in menu with params: citycode='8623', temp='Temperature: 25 °C', humid='Humidity: 28%', wind='Wind: NE (50°) 7 mph', sunrise='Sunrise: 06:53:03 AM', sunset='Sunset: 07:44:13 PM', puretemp=25 °C [MainThread] 2013-09-11 15:45:25,834 - DEBUG - Indicator: menu_normal: filling in a menu for found places [MainThread] 2013-09-11 15:45:25,843 - DEBUG - Indicator: update_label: setting label to ' ' [MainThread] 2013-09-11 15:45:25,844 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity [MainThread] 2013-09-11 15:45:25,845 - DEBUG - Weather: got condition 'Sunny' [MainThread] 2013-09-11 15:45:25,845 - DEBUG - Weather: day, show 'weather-clear' icon [MainThread] 2013-09-11 15:45:25,845 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity [MainThread] 2013-09-11 15:45:25,845 - DEBUG - Settings: setting '8623'='{'humidity': u'Humidity: 28%', 'sunrise': u'Sunrise: 06:53:03 AM', 'feelslike': u'Feels Like: 25 \xb0C', 'sunset': u'Sunset: 07:44:13 PM', 'wind': u'Wind: NE (50\xb0) 7 mph', 'icon': 'weather-clear', 'temper': u'Temperature: 25 \xb0C', 'condition': u'Sunny', 'label': u'25 \xb0C'}' [MainThread] 2013-09-11 15:45:25,845 - DEBUG - Indicator: update_label: setting label to '25 °C' [MainThread] 2013-09-11 15:45:25,845 - DEBUG - Weather: got severe condition 'False' [MainThread] 2013-09-11 15:45:33,198 - DEBUG - Indicator: open Preferences [MainThread] 2013-09-11 15:45:33,198 - DEBUG - Preferences: creating [MainThread] 2013-09-11 15:45:33,218 - DEBUG - Preferences: finishing initialization [MainThread] 2013-09-11 15:45:33,219 - DEBUG - Preferences: got settings: unit=S, notif=N, wind=mph, rate=15, source=Y, heat=humidex, chill=windchill [MainThread] 2013-09-11 15:45:33,221 - DEBUG - Preferences: Loading places [MainThread] 2013-09-11 15:45:33,221 - DEBUG - Preferences: Places: got (Medicine Hat, 8623) [MainThread] 2013-09-11 15:45:36,419 - DEBUG - Preferences: Saving settings [MainThread] 2013-09-11 15:45:36,419 - DEBUG - Settings: setting 'show_label'='True' [MainThread] 2013-09-11 15:45:36,419 - DEBUG - Preferences: Show Label changed to 'True' [MainThread] 2013-09-11 15:45:36,420 - DEBUG - Indicator: update_label: setting label to '25 °C'