![天气指示器:网络错误:HTTP 错误 403:禁止?](https://linux22.com/image/1112846/%E5%A4%A9%E6%B0%94%E6%8C%87%E7%A4%BA%E5%99%A8%EF%BC%9A%E7%BD%91%E7%BB%9C%E9%94%99%E8%AF%AF%EF%BC%9AHTTP%20%E9%94%99%E8%AF%AF%20403%EF%BC%9A%E7%A6%81%E6%AD%A2%EF%BC%9F.png)
以下是~/.cache/indicator-weather.log
:
[Fetcher] 2012-11-24 11:45:52,619 - DEBUG - Indicator: getWeather for location 'Hanoi, Ha Nội, Vietnam'
[Fetcher] 2012-11-24 11:45:52,620 - DEBUG - Indicator: getWeather: updating weather report
[Fetcher] 2012-11-24 11:45:52,620 - DEBUG - Location: default weather source 'Google' chosen for 'Hanoi'
[Fetcher] 2012-11-24 11:45:53,019 - ERROR - Indicator: networking error: HTTP Error 403: Forbidden
[Fetcher] 2012-11-24 11:45:53,020 - DEBUG - Indicator: updateWeather: waiting for 'Cacher' thread to terminate
[Fetcher] 2012-11-24 11:45:53,020 - ERROR - Indicator: updateWeather: could not get weather, leaving cached data
答案1
[Fetcher] 2012-11-24 11:45:52,620 - DEBUG - Location: default weather source 'Google' chosen for 'Hanoi'
[Fetcher] 2012-11-24 11:45:53,019 - ERROR - Indicator: networking error: HTTP Error 403: Forbidden
连接到 Google 数据源时似乎出现了一些问题。切换到 Yahoo! 后,一切正常: