Crash when opening Forecast if current location does not have a valid yahoo ID (indicator-weather crashed with KeyError in finish_initializing(): 'yahoo id')

Bug #1222220 reported by andretyn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Released
Medium
Joshua Tasker

Bug Description

No prevision

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: indicator-weather 13.06.01 [origin: LP-PPA-weather-indicator-team]
ProcVersionSignature: Ubuntu 3.5.0-40.62~precise1-generic 3.5.7.20
Uname: Linux 3.5.0-40-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
CrashDB: indicator_weather
Date: Sat Sep 7 14:23:31 2013
ExecutablePath: /usr/bin/indicator-weather
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/indicator-weather
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 PATH=(custom, user)
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/indicator-weather']
SourcePackage: indicator-weather
ThirdParty: True
Title: indicator-weather crashed with KeyError in finish_initializing(): 'yahoo id'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip epoptes lpadmin plugdev sambashare sudo vboxusers

Revision history for this message
andretyn (alfatau-gmail) wrote :
Joshua Tasker (jtasker)
Changed in weather-indicator:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Joshua Tasker (jtasker)
milestone: none → 13.7.0
Revision history for this message
Joshua Tasker (jtasker) wrote :

This error occurs because your current location has no yahoo ID.

However, it shouldn't even be using the yahoo ID in that part, it should be using the weather.com ID.

It will be fixed in the next unstable build, but for now I have attached a patch to fix the issue.

Changed in weather-indicator:
status: Triaged → Fix Committed
Joshua Tasker (jtasker)
summary: - indicator-weather crashed with KeyError in finish_initializing(): 'yahoo
- id'
+ Crashes when opening Forecast if current location does not have a valid
+ yahoo ID (indicator-weather crashed with KeyError in
+ finish_initializing(): 'yahoo id')
summary: - Crashes when opening Forecast if current location does not have a valid
+ Crash when opening Forecast if current location does not have a valid
yahoo ID (indicator-weather crashed with KeyError in
finish_initializing(): 'yahoo id')
information type: Private → Public
Joshua Tasker (jtasker)
Changed in weather-indicator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.