Trent - thanks, that way we know that you and I both see the same thing across different versions of python
Onox - Yes If i click on refresh it does invoke the various functions. The prints that are in the error_cb get invoked with the Warning in Weather: error in get_{forecast,conditions,weather_map}: - urlopen error [Errno -3] Temporary failure in name resolution and then the Reattempt ({3,2,1} retries remaining) in 10 seconds. After those count down the 1 retries it prints, one Error in Weather for each of the get_{forecast,conditions,weather_map} FWIW, I didn't add any prints because the prints in the error_cb seemed answer the question.
If I let it sit there when the next 30 minute timer expires it will repeat the same warning, retries, error for the three gets. If I click refresh manually, it does the same thing.
Even after NM has restored the connection, it continues with the same behaviour as though the network had NOT been restored. It really seems that if there is any call the to urlopen while the network is down doesn't get cleared in urllib2's state, even after the network comes back up.
Trent - thanks, that way we know that you and I both see the same thing across different versions of python
Onox - Yes If i click on refresh it does invoke the various functions. The prints that are in the error_cb get invoked with the Warning in Weather: error in get_{forecast, conditions, weather_ map}: - urlopen error [Errno -3] Temporary failure in name resolution and then the Reattempt ({3,2,1} retries remaining) in 10 seconds. After those count down the 1 retries it prints, one Error in Weather for each of the get_{forecast, conditions, weather_ map} FWIW, I didn't add any prints because the prints in the error_cb seemed answer the question.
If I let it sit there when the next 30 minute timer expires it will repeat the same warning, retries, error for the three gets. If I click refresh manually, it does the same thing.
Even after NM has restored the connection, it continues with the same behaviour as though the network had NOT been restored. It really seems that if there is any call the to urlopen while the network is down doesn't get cleared in urllib2's state, even after the network comes back up.