Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-04-2012, 12:18 PM   #1
Steven630
Zealot
Steven630 began at the beginning.
 
Posts: 142
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, 01: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: 26,314
Karma: 5382313
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
Old 05-04-2012, 01:47 PM   #3
Steven630
Zealot
Steven630 began at the beginning.
 
Posts: 142
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, 03: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: 26,314
Karma: 5382313
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, 06:00 AM   #5
Steven630
Zealot
Steven630 began at the beginning.
 
Posts: 142
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
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 07:09 AM.


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