Description of problem:
When I install the gdesklets-goodweather package to Fedora 14 and add the desklet to my desktop, it fails to load any data, regardless of what location I configure in it.
Reproducibility:
always
Steps to Reproduce:
1. install the gdesklets-goodweather package
2. add the desklet to the desktop
3. configure any location
Actual results:
It doesn't display any data, just says "loading" for forever.
Expected results:
It should display the actual weather data.
Solution:
After some searching on the net, I found out that weather.com changed the method to get weather data so this is why GoodWeather doesn't work.
To get it work, open /usr/share/gdesklets/Sensors/GoodWeather/__init__.py and change the declaration of WEATHER_SOURCE (beginning on line 42) to this one:
After this change, the desklet starts to work correctly. I think it would be best to apply this to the current version found in the repo, so if would work for everyone.
Description of problem: goodweather package to Fedora 14 and add the desklet to my desktop, it fails to load any data, regardless of what location I configure in it.
When I install the gdesklets-
Reproducibility:
always
Steps to Reproduce: goodweather package
1. install the gdesklets-
2. add the desklet to the desktop
3. configure any location
Actual results:
It doesn't display any data, just says "loading" for forever.
Expected results:
It should display the actual weather data.
Solution: gdesklets/ Sensors/ GoodWeather/ __init_ _.py and change the declaration of WEATHER_SOURCE (beginning on line 42) to this one:
After some searching on the net, I found out that weather.com changed the method to get weather data so this is why GoodWeather doesn't work.
To get it work, open /usr/share/
WEATHER_SOURCE = "http:// xoap.weather. com/weather/ local/" \
"%(weather_ code)s? cc=*&dayf= 5&prod= xoap&" \
"link=xoap& par=1003832479& key=bb12936706a 2d601"
After this change, the desklet starts to work correctly. I think it would be best to apply this to the current version found in the repo, so if would work for everyone.