Quote:
Originally Posted by kovidgoyal
I've changed the recipe to give a better error message. Try it again and post the next time you get an error. I just tried the recipe and it worked for me.
|
In the past, two or three attempts have allowed a successful download. Today, no success after six attempts:
InputFormatPlugin: Recipe Input running
Python function terminated unexpectedly
<urlopen error [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 187, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 947, in run
File "site-packages\calibre\customize\conversion.py", line 204, in __call__
File "site-packages\calibre\web\feeds\input.py", line 105, in convert
File "site-packages\calibre\web\feeds\news.py", line 825, in download
File "site-packages\calibre\web\feeds\news.py", line 962, in build_index
File "c:\docume~1\admini~1\locals~1\temp\calibre_0.8.19 _tmp_1e9lpb\lkrhrz_recipes\recipe0.py", line 127, in parse_index
feeds.append((title, list(self.find_articles(href))))
File "c:\docume~1\admini~1\locals~1\temp\calibre_0.8.19 _tmp_1e9lpb\lkrhrz_recipes\recipe0.py", line 104, in find_articles
soup = self.index_to_soup(url)
File "site-packages\calibre\web\feeds\news.py", line 539, in index_to_soup
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 199, in open_novisit
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_opener.py", line 193, in open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 344, in _open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1142, in http_open
File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
urllib2.URLError: <urlopen error [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>
Other programmes are connecting OK. Does Calibre have short timeouts?
Thanks for your help.