Comment 3 for bug 760658

Revision history for this message
Panagiotis Skintzos (ph7) wrote :

Ok, I found the error.
Jacopo is your internet working immediately after the resume?

When the system resumes after sleeping for more time than the refresh rate interval, the program calls update_weather.
At that time there is no scheduling for updating the weather. The fetcher thread should reschedule the job, but it fails before doing so. An exception is raised (most probably a URL error) but it is not catched anywhere, so we don't see it at the log. You can see it if you start the program from the command line (just disable networking after the program starts).

I'll create a patch for this. Other bugs are are related to this