I had problems for a while with the weather for some Polish cities (especially Wrocław). After looking into the source I discovered that the indicator didn't receive any data:
[Fetcher] 2012-03-04 12:32:07,141 - ERROR - Weather: could not get weather icon from report
[Fetcher] 2012-03-04 12:32:07,141 - ERROR - Weather: got data '{}'
[Fetcher] 2012-03-04 12:32:07,141 - ERROR - ExtendedForecast: unknown Google weather condition ''
I could fix that by changing the location_id sent to the Google to the very label displayed in the menu. The fix is one-line change:
I had problems for a while with the weather for some Polish cities (especially Wrocław). After looking into the source I discovered that the indicator didn't receive any data:
[Fetcher] 2012-03-04 12:32:07,141 - ERROR - Weather: could not get weather icon from report
[Fetcher] 2012-03-04 12:32:07,141 - ERROR - Weather: got data '{}'
[Fetcher] 2012-03-04 12:32:07,141 - ERROR - ExtendedForecast: unknown Google weather condition ''
I could fix that by changing the location_id sent to the Google to the very label displayed in the menu. The fix is one-line change:
443c443 details[ loc_ids[ valid_source] ], details[ 'label' ],
< self.location_
---
> self.location_
This worked like charm.