Comment 5 for bug 821233

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

I can confirm, thay ucomesdag proposal fixed crash when adding new location (city) in Weather indicator versions 11.11.28 and 12.07.30 :)
I'm attaching a patch, which can be applied against Ubuntu 12.04 and newer indicator-weather packages.

Uco (ucomesdag) wrote 16 hours ago: #4
> /usr/bin/indicator-weather line 367: if (yahoo_woeid_result['ResultSet']['Error'] != 0) and (yahoo_woeid_result['ResultSet']['Results'] != None):
> ...replace ['Error'] != 0 with ['Error'] != '0'