I got A patch :
In weather.py file, find def activate_refresh_cb(self, widget=None, map=True):
(line 275 but I have modified the file so I'm not sure).
Remplace the line :
self.refresh_conditions()
by this code :
if self.refresh_conditions() == None: print "Weather Applet : Failed to retrieve data, refresh in 10s . . ." self.applet.timing.delay(self.activate_refresh_cb, 10.0) return False
So, if the applet cannot retrieve data, it try again in 10s .
I got A patch :
In weather.py file, find refresh_ cb(self, widget=None, map=True):
def activate_
(line 275 but I have modified the file so I'm not sure).
Remplace the line :
self.refresh_ conditions( )
by this code :
if self.refresh_ conditions( ) == None:
self. applet. timing. delay(self. activate_ refresh_ cb, 10.0)
print "Weather Applet : Failed to retrieve data, refresh in 10s . . ."
return False
So, if the applet cannot retrieve data, it try again in 10s .