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'
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 indicator- weather line 367: if (yahoo_ woeid_result[ 'ResultSet' ]['Error' ] != 0) and (yahoo_ woeid_result[ 'ResultSet' ]['Results' ] != None):
> /usr/bin/
> ...replace ['Error'] != 0 with ['Error'] != '0'