View Single Post
Old 01-03-2011, 08:06 AM   #14
hiperlink
Enthusiast
hiperlink began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 Wifi only
Unhappy Still download errors...

So I still can't get rid off the download errors. Recipe is the same as above, except I added:

Code:
class EletEsIrodalom(BasicNewsRecipe):
 
    encoding = 'utf-8'
    delay = 10
    simultaneous_downloadsi = 1
    timeout = 30
But it did not help... now I miss two articles (from the debug.log):

Code:
Could not fetch link http://www.es.hu/2010-12-21_a-tanacs...et-jelentese1-
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/web/fetch/simple.py", line 428, in process_links
    soup = self.get_soup(dsrc)
  File "/usr/lib/calibre/calibre/web/fetch/simple.py", line 189, in get_soup
    return self.preprocess_html_ext(soup)
  File "/tmp/calibre_0.7.35_tmp_kysmc6/calibre_0.7.35_IzD6Uk_recipes/recipe0.py", line 129, in preprocess_html
    url = links['href']
  File "/usr/lib/calibre/calibre/ebooks/BeautifulSoup.py", line 518, in __getitem__
    return self._getAttrMap()[key]
KeyError: 'href'

Failed to download article: A tan�csad� test�let jelent�se1 from http://www.es.hu/2010-12-21_a-tanacs...et-jelentese1-
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/utils/threadpool.py", line 95, in run
    (request, request.callable(*request.args, **request.kwds))
  File "/usr/lib/calibre/calibre/web/feeds/news.py", line 839, in fetch_article
    return self._fetch_article(url, dir, f, a, num_of_feeds)
  File "/usr/lib/calibre/calibre/web/feeds/news.py", line 835, in _fetch_article
    raise Exception(_('Could not fetch article. Run with -vv to see the reason'))
Exception: Nem lehet a cikket letölteni. Futtassa a -vv paraméterrel a hibaüzenetek megjelenítéséhez
...


Could not fetch link http://www.es.hu/2010-12-21_a-demokr...cio-feltetelei
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/web/fetch/simple.py", line 428, in process_links
    soup = self.get_soup(dsrc)
  File "/usr/lib/calibre/calibre/web/fetch/simple.py", line 189, in get_soup
    return self.preprocess_html_ext(soup)
  File "/tmp/calibre_0.7.35_tmp_kysmc6/calibre_0.7.35_IzD6Uk_recipes/recipe0.py", line 129, in preprocess_html
    url = links['href']
  File "/usr/lib/calibre/calibre/ebooks/BeautifulSoup.py", line 518, in __getitem__
    return self._getAttrMap()[key]
KeyError: 'href'

Failed to download article: MIKL�SI ZOLT�N  A demokratikus korrekci� felt�telei from http://www.es.hu/2010-12-21_a-demokr...cio-feltetelei
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/utils/threadpool.py", line 95, in run
    (request, request.callable(*request.args, **request.kwds))
  File "/usr/lib/calibre/calibre/web/feeds/news.py", line 839, in fetch_article
    return self._fetch_article(url, dir, f, a, num_of_feeds)
  File "/usr/lib/calibre/calibre/web/feeds/news.py", line 835, in _fetch_article
    raise Exception(_('Could not fetch article. Run with -vv to see the reason'))
Exception: Nem lehet a cikket letölteni. Futtassa a -vv paraméterrel a hibaüzenetek megjelenítéséhez
Thanks for any help!
hiperlink is offline   Reply With Quote