indicator-weather crashed with KeyError in finish_initializing(): 'weather-com id'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weather Indicator |
New
|
Undecided
|
Unassigned |
Bug Description
Info on the restarted "Indicator-weather" gives me 13.7.1 'Rainy 7' using Python Weather API version 0.3.6
washuu@
Metadata-Version: 1.0
Name: pywapi
Version: 0.3.6
Summary: Python wrapper around different weather APIs
Home-page: http://
Author: Eugene Kaznacheev, Joshua Tasker
Author-email: <email address hidden>, <email address hidden>
License: MIT
Description:
This module provides a Python wrapper around the Yahoo! Weather, Weather.com,
and National Oceanic and Atmospheric Administration (NOAA) APIs. Fetch
weather reports using zip code, location id, city name, state, country, etc.
Keywords: weather api yahoo noaa google
Platform: any
washuu@
indicator-weather:
Installiert: 13.7.1
Kandidat: 13.7.1
Versionstabelle:
*** 13.7.1 0
500 http://
100 /var/lib/
11.
500 http://
11.
500 http://
Logfile from start of application till crash:
[MainThread] 2013-10-08 22:04:57,859 - INFO - Started Weather Indicator from /usr
[MainThread] 2013-10-08 22:04:57,860 - INFO - Weather Indicator version 13.7.1 'Rainy 7'
[MainThread] 2013-10-08 22:04:57,860 - INFO - Python Weather API version 0.3.6
[MainThread] 2013-10-08 22:04:57,860 - DEBUG - SingleInstance: writing new pid 4558
[MainThread] 2013-10-08 22:04:57,862 - DEBUG - ProxyMonitor: loading dconf settings
[MainThread] 2013-10-08 22:04:57,862 - ERROR - ProxyMonitor: empty proxy host!
[MainThread] 2013-10-08 22:04:57,863 - DEBUG - ProxyMonitor: using direct connection
[MainThread] 2013-10-08 22:04:57,865 - DEBUG - TimeFormatter: loading indicator-datetime settings: com.canonical.
[MainThread] 2013-10-08 22:04:57,866 - DEBUG - TimeFormatter: time format changed
[MainThread] 2013-10-08 22:04:57,866 - INFO - Locale set to 'de_DE'
[MainThread] 2013-10-08 22:04:57,867 - DEBUG - Indicator: creating
[MainThread] 2013-10-08 22:04:57,909 - INFO - Monitoring UPower interface
[MainThread] 2013-10-08 22:04:57,909 - DEBUG - Indicator: reading settings
[MainThread] 2013-10-08 22:04:57,909 - DEBUG - Settings: preparing settings store
[MainThread] 2013-10-08 22:04:57,910 - DEBUG - Settings: getting value for refresh_rate
[MainThread] 2013-10-08 22:04:57,910 - DEBUG - Settings: getting value for unit
[MainThread] 2013-10-08 22:04:57,910 - DEBUG - Settings: getting value for notif
[MainThread] 2013-10-08 22:04:57,911 - DEBUG - Settings: getting value for wind
[MainThread] 2013-10-08 22:04:57,911 - DEBUG - Settings: getting value for heat
[MainThread] 2013-10-08 22:04:57,911 - DEBUG - Settings: getting value for chill
[MainThread] 2013-10-08 22:04:57,911 - DEBUG - Settings: getting value for data_source
[MainThread] 2013-10-08 22:04:57,912 - DEBUG - Settings: getting value for placechosen
[MainThread] 2013-10-08 22:04:57,912 - DEBUG - Settings: getting value for places
[MainThread] 2013-10-08 22:04:57,912 - DEBUG - Settings: getting value for show_label
[MainThread] 2013-10-08 22:04:57,912 - DEBUG - Settings: getting value for show_relative
[MainThread] 2013-10-08 22:04:57,913 - DEBUG - Settings: getting value for show_wind
[MainThread] 2013-10-08 22:04:57,913 - DEBUG - Settings: getting value for show_suntimes
[MainThread] 2013-10-08 22:04:57,913 - DEBUG - Preferences: got settings: rate=10, unit=S, notif=O, wind=kph, placechosen=0, places=[["651191", "F\u00fcrstenri
[MainThread] 2013-10-08 22:04:57,919 - DEBUG - Indicator: updateWeather: updating weather for [u'651191', u'F\xfcrstenried']
[Cache] 2013-10-08 22:04:57,920 - DEBUG - Indicator: get_cached_weather: setting previous_condition to None
[Cache] 2013-10-08 22:04:57,921 - DEBUG - Indicator: loading weather from cache for [u'651191', u'F\xfcrstenried']
[Fetcher] 2013-10-08 22:04:57,921 - DEBUG - Indicator: getWeather for location 'Fürstenried, Bayern, Deutschland'
[Cache] 2013-10-08 22:04:57,921 - DEBUG - Settings: getting cached weather for 651191
[Fetcher] 2013-10-08 22:04:57,922 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2013-10-08 22:04:57,923 - DEBUG - Location: non default weather source 'Yahoo' chosen for 'Fürstenried'
[MainThread] 2013-10-08 22:04:57,950 - DEBUG - Indicator: menu_normal: filling in a menu for found places
[MainThread] 2013-10-08 22:04:57,981 - DEBUG - Indicator: menu_locations: adding first location menu item 'Fürstenried'
[MainThread] 2013-10-08 22:04:57,982 - DEBUG - Indicator: menu_locations: adding location menu item 'Nishi-shinjuku'
[MainThread] 2013-10-08 22:04:57,986 - DEBUG - Indicator: update_label: setting label to ' '
[MainThread] 2013-10-08 22:04:57,987 - DEBUG - Indicator: update_label: setting label to '10 °C'
[Fetcher] 2013-10-08 22:04:58,060 - DEBUG - Weather: checking Yahoo report for weather condition and icon name
[Fetcher] 2013-10-08 22:04:58,061 - DEBUG - Weather: current condition: '26', '('weather-clouds', 'weather-
[Fetcher] 2013-10-08 22:04:58,061 - DEBUG - Weather: Get local datetime, url http://
[Fetcher] 2013-10-08 22:04:58,440 - DEBUG - Weather: Get sunrise/sunset data, url http://
[Fetcher] 2013-10-08 22:04:58,635 - DEBUG - Weather: got localtime 2013-10-08 22:04:58, sunrise '2013-10-08 07:23:15+02:00', sunset '2013-10-08 18:39:06+02:00', night = True
[MainThread] 2013-10-08 22:04:58,636 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:04:58,636 - DEBUG - Weather: got condition 'Bewölkt'
[MainThread] 2013-10-08 22:04:58,636 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:04:58,636 - DEBUG - Indicator: updateWeather: got condition 'Bewölkt', icon 'weather-
[MainThread] 2013-10-08 22:04:58,637 - DEBUG - Indicator: fill in menu with params: citycode='651191', temp='Temperatur: 10 °C', humid='
[MainThread] 2013-10-08 22:04:58,637 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2013-10-08 22:04:58,638 - DEBUG - Weather: got condition 'Bewölkt'
[MainThread] 2013-10-08 22:04:58,638 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:04:58,638 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2013-10-08 22:04:58,639 - DEBUG - Settings: setting '651191'
[MainThread] 2013-10-08 22:04:58,640 - DEBUG - Indicator: update_label: setting label to '10 °C'
[MainThread] 2013-10-08 22:05:45,232 - DEBUG - Indicator: open Forecast
[MainThread] 2013-10-08 22:05:45,233 - DEBUG - ExtendedForecast: creating
[MainThread] 2013-10-08 22:05:45,276 - DEBUG - ExtendedForecast: finishing initialization
[MainThread] 2013-10-08 22:05:45,277 - DEBUG - ExtendedForecast: chosen place: Fürstenried (code 651191)
[MainThread] 2013-10-08 22:05:45,277 - DEBUG - ExtendedForecast: getting forecast data
After restart these lines were written:
[Cache] 2013-10-08 22:14:58,701 - DEBUG - Indicator: get_cached_weather: setting previous_condition to None
[Cache] 2013-10-08 22:14:58,702 - DEBUG - Indicator: loading weather from cache for [u'651191', u'F\xfcrstenried']
[Cache] 2013-10-08 22:14:58,702 - DEBUG - Settings: getting cached weather for 651191
[Fetcher] 2013-10-08 22:14:58,703 - DEBUG - Indicator: getWeather for location 'Fürstenried, Bayern, Deutschland'
[Fetcher] 2013-10-08 22:14:58,703 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2013-10-08 22:14:58,704 - DEBUG - Location: non default weather source 'Yahoo' chosen for 'Fürstenried'
[MainThread] 2013-10-08 22:14:58,705 - DEBUG - Indicator: update_label: setting label to '10 °C'
[Fetcher] 2013-10-08 22:14:58,794 - DEBUG - Weather: checking Yahoo report for weather condition and icon name
[Fetcher] 2013-10-08 22:14:58,795 - DEBUG - Weather: current condition: '26', '('weather-clouds', 'weather-
[Fetcher] 2013-10-08 22:14:58,795 - DEBUG - Weather: Get local datetime, url http://
[Fetcher] 2013-10-08 22:14:59,195 - DEBUG - Weather: Get sunrise/sunset data, url http://
[Fetcher] 2013-10-08 22:14:59,421 - DEBUG - Weather: got localtime 2013-10-08 22:14:59, sunrise '2013-10-08 07:23:15+02:00', sunset '2013-10-08 18:39:06+02:00', night = True
[MainThread] 2013-10-08 22:14:59,421 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:14:59,422 - DEBUG - Weather: got condition 'Bewölkt'
[MainThread] 2013-10-08 22:14:59,422 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:14:59,422 - DEBUG - Indicator: updateWeather: got condition 'Bewölkt', icon 'weather-
[MainThread] 2013-10-08 22:14:59,423 - DEBUG - Indicator: fill in menu with params: citycode='651191', temp='Temperatur: 10 °C', humid='
[MainThread] 2013-10-08 22:14:59,424 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2013-10-08 22:14:59,425 - DEBUG - Weather: got condition 'Bewölkt'
[MainThread] 2013-10-08 22:14:59,425 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:14:59,426 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2013-10-08 22:14:59,426 - DEBUG - Settings: setting '651191'
[MainThread] 2013-10-08 22:14:59,430 - DEBUG - Indicator: update_label: setting label to '10 °C'
[MainThread] 2013-10-08 22:22:26,887 - INFO - -------
[MainThread] 2013-10-08 22:22:26,887 - INFO - Started Weather Indicator from /usr
[MainThread] 2013-10-08 22:22:26,887 - INFO - Weather Indicator version 13.7.1 'Rainy 7'
[MainThread] 2013-10-08 22:22:26,887 - INFO - Python Weather API version 0.3.6
[MainThread] 2013-10-08 22:22:26,887 - DEBUG - SingleInstance: pid file /tmp/indicator-
[MainThread] 2013-10-08 22:22:26,891 - DEBUG - SingleInstance: pid running 4558
[MainThread] 2013-10-08 22:22:26,891 - INFO - Another instance of this program is already running
[MainThread] 2013-10-08 22:22:43,717 - DEBUG - Indicator: open About dialog
[MainThread] 2013-10-08 22:24:59,456 - DEBUG - Indicator: updateWeather: updating weather for [u'651191', u'F\xfcrstenried']
[Cache] 2013-10-08 22:24:59,457 - DEBUG - Indicator: get_cached_weather: setting previous_condition to None
[Cache] 2013-10-08 22:24:59,457 - DEBUG - Indicator: loading weather from cache for [u'651191', u'F\xfcrstenried']
[Cache] 2013-10-08 22:24:59,457 - DEBUG - Settings: getting cached weather for 651191
[Fetcher] 2013-10-08 22:24:59,458 - DEBUG - Indicator: getWeather for location 'Fürstenried, Bayern, Deutschland'
[Fetcher] 2013-10-08 22:24:59,458 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2013-10-08 22:24:59,458 - DEBUG - Location: non default weather source 'Yahoo' chosen for 'Fürstenried'
[MainThread] 2013-10-08 22:24:59,459 - DEBUG - Indicator: update_label: setting label to '10 °C'
[Fetcher] 2013-10-08 22:24:59,544 - DEBUG - Weather: checking Yahoo report for weather condition and icon name
[Fetcher] 2013-10-08 22:24:59,545 - DEBUG - Weather: current condition: '26', '('weather-clouds', 'weather-
[Fetcher] 2013-10-08 22:24:59,545 - DEBUG - Weather: Get local datetime, url http://
[Fetcher] 2013-10-08 22:25:00,931 - DEBUG - Weather: Get sunrise/sunset data, url http://
[Fetcher] 2013-10-08 22:25:01,191 - DEBUG - Weather: got localtime 2013-10-08 22:25:00, sunrise '2013-10-08 07:23:15+02:00', sunset '2013-10-08 18:39:06+02:00', night = True
[MainThread] 2013-10-08 22:25:01,191 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:25:01,192 - DEBUG - Weather: got condition 'Bewölkt'
[MainThread] 2013-10-08 22:25:01,192 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:25:01,192 - DEBUG - Indicator: updateWeather: got condition 'Bewölkt', icon 'weather-
[MainThread] 2013-10-08 22:25:01,193 - DEBUG - Indicator: fill in menu with params: citycode='651191', temp='Temperatur: 10 °C', humid='
[MainThread] 2013-10-08 22:25:01,194 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2013-10-08 22:25:01,195 - DEBUG - Weather: got condition 'Bewölkt'
[MainThread] 2013-10-08 22:25:01,196 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:25:01,196 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2013-10-08 22:25:01,197 - DEBUG - Settings: setting '651191'
[MainThread] 2013-10-08 22:25:01,197 - DEBUG - Indicator: update_label: setting label to '10 °C'
[MainThread] 2013-10-08 22:32:12,592 - DEBUG - Indicator: closing About dialog
[MainThread] 2013-10-08 22:35:01,210 - DEBUG - Indicator: updateWeather: updating weather for [u'651191', u'F\xfcrstenried']
[Cache] 2013-10-08 22:35:01,211 - DEBUG - Indicator: get_cached_weather: setting previous_condition to None
[Cache] 2013-10-08 22:35:01,211 - DEBUG - Indicator: loading weather from cache for [u'651191', u'F\xfcrstenried']
[Fetcher] 2013-10-08 22:35:01,212 - DEBUG - Indicator: getWeather for location 'Fürstenried, Bayern, Deutschland'
[Cache] 2013-10-08 22:35:01,212 - DEBUG - Settings: getting cached weather for 651191
[Fetcher] 2013-10-08 22:35:01,213 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2013-10-08 22:35:01,214 - DEBUG - Location: non default weather source 'Yahoo' chosen for 'Fürstenried'
[MainThread] 2013-10-08 22:35:01,216 - DEBUG - Indicator: update_label: setting label to '10 °C'
[Fetcher] 2013-10-08 22:35:01,291 - DEBUG - Weather: checking Yahoo report for weather condition and icon name
[Fetcher] 2013-10-08 22:35:01,291 - DEBUG - Weather: current condition: '26', '('weather-clouds', 'weather-
[Fetcher] 2013-10-08 22:35:01,291 - DEBUG - Weather: Get local datetime, url http://
[Fetcher] 2013-10-08 22:35:01,673 - DEBUG - Weather: Get sunrise/sunset data, url http://
[Fetcher] 2013-10-08 22:35:01,818 - DEBUG - Weather: got localtime 2013-10-08 22:35:01, sunrise '2013-10-08 07:23:15+02:00', sunset '2013-10-08 18:39:06+02:00', night = True
[MainThread] 2013-10-08 22:35:01,819 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:35:01,819 - DEBUG - Weather: got condition 'Bewölkt'
[MainThread] 2013-10-08 22:35:01,819 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:35:01,819 - DEBUG - Indicator: updateWeather: got condition 'Bewölkt', icon 'weather-
[MainThread] 2013-10-08 22:35:01,820 - DEBUG - Indicator: fill in menu with params: citycode='651191', temp='Temperatur: 10 °C', humid='
[MainThread] 2013-10-08 22:35:01,821 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2013-10-08 22:35:01,823 - DEBUG - Weather: got condition 'Bewölkt'
[MainThread] 2013-10-08 22:35:01,823 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:35:01,823 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2013-10-08 22:35:01,824 - DEBUG - Settings: setting '651191'
[MainThread] 2013-10-08 22:35:01,825 - DEBUG - Indicator: update_label: setting label to '10 °C'
[MainThread] 2013-10-08 22:45:01,858 - DEBUG - Indicator: updateWeather: updating weather for [u'651191', u'F\xfcrstenried']
[Cache] 2013-10-08 22:45:01,859 - DEBUG - Indicator: get_cached_weather: setting previous_condition to None
[Cache] 2013-10-08 22:45:01,859 - DEBUG - Indicator: loading weather from cache for [u'651191', u'F\xfcrstenried']
[Fetcher] 2013-10-08 22:45:01,860 - DEBUG - Indicator: getWeather for location 'Fürstenried, Bayern, Deutschland'
[Cache] 2013-10-08 22:45:01,860 - DEBUG - Settings: getting cached weather for 651191
[Fetcher] 2013-10-08 22:45:01,861 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2013-10-08 22:45:01,862 - DEBUG - Location: non default weather source 'Yahoo' chosen for 'Fürstenried'
[MainThread] 2013-10-08 22:45:01,865 - DEBUG - Indicator: update_label: setting label to '10 °C'
[Fetcher] 2013-10-08 22:45:01,951 - DEBUG - Weather: checking Yahoo report for weather condition and icon name
[Fetcher] 2013-10-08 22:45:01,951 - DEBUG - Weather: current condition: '26', '('weather-clouds', 'weather-
[Fetcher] 2013-10-08 22:45:01,952 - DEBUG - Weather: Get local datetime, url http://
[Fetcher] 2013-10-08 22:45:03,390 - DEBUG - Weather: Get sunrise/sunset data, url http://
[Fetcher] 2013-10-08 22:45:03,579 - DEBUG - Weather: got localtime 2013-10-08 22:45:03, sunrise '2013-10-08 07:23:15+02:00', sunset '2013-10-08 18:39:06+02:00', night = True
[MainThread] 2013-10-08 22:45:03,579 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:45:03,580 - DEBUG - Weather: got condition 'Bewölkt'
[MainThread] 2013-10-08 22:45:03,580 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:45:03,580 - DEBUG - Indicator: updateWeather: got condition 'Bewölkt', icon 'weather-
[MainThread] 2013-10-08 22:45:03,581 - DEBUG - Indicator: fill in menu with params: citycode='651191', temp='Temperatur: 10 °C', humid='
[MainThread] 2013-10-08 22:45:03,582 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2013-10-08 22:45:03,583 - DEBUG - Weather: got condition 'Bewölkt'
[MainThread] 2013-10-08 22:45:03,583 - DEBUG - Weather: night, show 'weather-
[MainThread] 2013-10-08 22:45:03,584 - DEBUG - Weather: get_wind_chill: weather_datasource is Yahoo, checking temp and humidity
[MainThread] 2013-10-08 22:45:03,584 - DEBUG - Settings: setting '651191'
[MainThread] 2013-10-08 22:45:03,585 - DEBUG - Indicator: update_label: setting label to '10 °C'
[MainThread] 2013-10-08 22:49:11,292 - DEBUG - Indicator: open About dialog
[MainThread] 2013-10-08 22:49:17,283 - DEBUG - Indicator: closing About dialog
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: indicator-weather 13.7.1 [origin: LP-PPA-
ProcVersionSign
Uname: Linux 3.2.0-54-generic i686
ApportVersion: 2.0.1-0ubuntu17.5
Architecture: i386
CrashDB: indicator_weather
Date: Tue Oct 8 22:05:45 2013
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: indicator-weather
ThirdParty: True
Title: indicator-weather crashed with KeyError in finish_
UpgradeStatus: Upgraded to precise on 2013-08-04 (65 days ago)
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin mail plugdev root sambashare sudo syslog tape vboxusers video www-data
information type: | Private → Public |
I could reproduce it just now. It happens with every try.
With other words... it is 100% repeatable on my computer.