View Single Post
Old 07-25-2011, 02:00 PM   #1
spedinfargo
Groupie
spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.spedinfargo is the king of the Divan.
 
Posts: 155
Karma: 106422
Join Date: Nov 2010
Device: none
Feature Request: Detect internet connection before trying to download a recipe?

Once in a while my Internet connection for my Calibre machine is completely down. When this happens, all of my resulting Epub files are essentially empty - each feed has this error:

urlopen error [Errno 11004] getaddrinfo failed

Since I usually keep only one copy of each recipe, when my internet connection comes back up and syncs my calibre folder with Dropbox, I end up with a bunch of bad files.

Does anyone else think that having Calibre try to detect a valid internet connection before starting a job would be useful? Maybe I'll get my source code set up and try writing another patch...
spedinfargo is offline   Reply With Quote