KeyError: 'yahoo id' occurs on adding Xi'an, Shaanxi Sheng, China

Bug #739191 reported by Vadim Rutkovsky on 2011-03-21
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Weather Indicator

Bug Description

Exception occurs

Changed in weather-indicator:
importance: Undecided → High
milestone: none → cloudy-2
status: New → Confirmed
Vadim Rutkovsky (roignac) wrote :

Sent a request for Yahoo support, as the problem occurs on their side

Changed in weather-indicator:
milestone: 11.03.27 → backlog
Botond Szász (boteeka) wrote :

I think I've found a workaround for this.
I am attaching a patch.

PS: This is the first patch I have ever created, please advise if something is not right.

Hmm, looks good, thanks!
Will try this on problematic locations from duplicate bugs

Botond Szász (boteeka) wrote :

I have tried with Dublin (Dublin, Leinster, Ireland) and Xi'an (Xi'an, Shaanxi Sheng, China) and they both worked.

Panagiotis Skintzos (ph7) wrote :

Still yahoo service is missing several locations. I think that if a location cannot be served by the default provider (yahoo in this case) the rest of providers (google) can be tried. I have done that in vala-port, I'll make a patch for current branch.

Panagiotis Skintzos (ph7) wrote :

Marked as duplicate of bug #733760 and supplied a patch there

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions