Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 05-04-2012, 11:18 AM   #1
Steven630
Groupie
Steven630 began at the beginning.
 
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
Could not fetch article.

Sometimes when I tried to download The Economist using the default recipe, some of the articles couldn't be fetched. The result is a couple of articles missing from the output. I would have to download it again to make up for the missing few.

By looking at the log, I could see words like:


Failed to download the following articles:
American property:The great realtor rip-off from Finance and economics
http://www.economist.com/node/21554204/print
Traceback (most recent call last):
File "site-packages\calibre\utils\threadpool.py", line 95, in run
File "site-packages\calibre\web\feeds\news.py", line 986, in fetch_article
File "site-packages\calibre\web\feeds\news.py", line 981, in _fetch_article
Exception: Could not fetch article. The debug traceback is available earlier in this log

---------------

It might be due to my Internet connection. (Sometimes, it just takes quite long to open a link). But isn't there any way to download again the failed links before outputting so that I won't have to download the entire issue again?
Steven630 is offline   Reply With Quote
Old 05-04-2012, 12:30 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, I'm afraid the recipe system does not have the ability to "retry' failed downloads.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-04-2012, 12:47 PM   #3
Steven630
Groupie
Steven630 began at the beginning.
 
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
Quote:
Originally Posted by kovidgoyal View Post
No, I'm afraid the recipe system does not have the ability to "retry' failed downloads.
Thank you for your reply! Would it be possible, then, for the recipe to "be more patient"(say, by allowing more time to connect) before deciding that it has failed to fetch the article?
Steven630 is offline   Reply With Quote
Old 05-04-2012, 02:43 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You'd have to edit the calibre source code to do that, it cannot be controlled from the recipe.
kovidgoyal is offline   Reply With Quote
Old 05-05-2012, 05:00 AM   #5
Steven630
Groupie
Steven630 began at the beginning.
 
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
Quote:
Originally Posted by kovidgoyal View Post
You'd have to edit the calibre source code to do that, it cannot be controlled from the recipe.
Speaking of which, would the Calibre team consider allowing retry before the recipe outputs its download? (as an update within the software itself)
Steven630 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not fetch link yoss15 Recipes 0 02-16-2012 12:41 AM
headline of first article is shown, furthers are not in the article pages DisasterArea Recipes 1 02-02-2012 05:29 PM
Fetch news chewi Recipes 0 11-30-2010 05:09 AM
Decorate article headings as hyperlinks to full article? tomsem Recipes 5 10-15-2010 08:30 PM
Fetch News philipdavies Calibre 5 10-08-2008 04:33 AM


All times are GMT -4. The time now is 03:36 PM.


MobileRead.com is a privately owned, operated and funded community.