![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 219070
Join Date: Aug 2010
Location: Poland
Device: PocketBoox Inkpad 3, Inkpad X
|
Arcamax Comics recipe hangs without error
Since a couple of weeks Arcamax Comics recipe usually hangs at the very beginning and does not complete. It goes through strips lists without any issues, enters "Synthesizing mastheadImage" steps at at some point stops working without any error returned. The most recent message today was:
Fetched http://arcamax.com/newspics/177/17733/1773307.gif in 1.654000 seconds Sometimes the issue vanishes next day but it is not always the case. I guess that download procedure does not time out on server or network related error. Any ideas how can it be fixed? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Works for me, and the download process definitely has a timeout, one that can even be set in the reipe with timeout = whatever (the default is 120 seconds)
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 219070
Join Date: Aug 2010
Location: Poland
Device: PocketBoox Inkpad 3, Inkpad X
|
Comic stripes downloaded yesterday, first time in two weeks. But download failed again today in exactly same manner. It hangs on this step since >20 minutes:
Processing images... Fetching http://arcamax.com/newspics/177/17729/1772948.gif Fetching http://arcamax.com/newspics/177/17731/1773133.gif Fetching http://arcamax.com/newspics/177/17733/1773307.gif Fetching http://arcamax.com/newspics/177/17734/1773442.gif Fetched http://arcamax.com/newspics/177/17729/1772948.gif in 1.551000 seconds Fetched http://arcamax.com/newspics/177/17727/1772715.gif in 1.587000 seconds How can I troubleshoot this issue? |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run from source and instrument the download code, which is in fetch/simple.py
In paricular look in the fetch_url() function, see if the correct timeout is being passed using a print() and see what URL is hanging. |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 219070
Join Date: Aug 2010
Location: Poland
Device: PocketBoox Inkpad 3, Inkpad X
|
My problem did not vanish entirely but usually I was able to download a comic ebook after restarting a download later. Now I have a little bit more time to work on debugging but I am not sure what you recommended. Could you be more specific?
I only run my recipe in accordance to instruction found in a Calibre manual: ebook-convert "Arcamax Ltd_1002.recipe" .mobi --test -vv --debug-pipeline debug It processed recipe up to creating final output but mobi file contained only 2 (out of 10) incomplete comic strips (2 rather than 7 days each). I have found the following error messages in the output: Parsing all content... Parsing feed_1/article_0/index.html ... Parsing feed_0/article_0/index.html ... Parsing index.html ... Forcing index.html into XHTML namespace Parsing feed_0/article_1/index.html ... Parsing feed_1/index.html ... Initial parse failed, using more forgiving parsers Parsing feed_1/index.html as HTML Parsing feed_0/index.html ... Initial parse failed, using more forgiving parsers Parsing feed_0/index.html as HTML Parsing feed_1/article_1/index.html ... Referenced file u'feed_2/index.html' not found Referenced file u'/manifest.json' not found Referenced file u'/thefunnies/dilbert/rss' not found Referenced file u'feed_0/article_0/file%3a/thefunnies/dilbert/biography' not found Referenced file u'feed_0/article_1/file%3a/thefunnies/dilbert/biography' not found Referenced file u'feed_1/article_0/file%3a/thefunnies/bc/biography' not found Referenced file u'/thefunnies/bc/rss' not found Referenced file u'feed_1/article_1/file%3a/thefunnies/bc/biography' not found Full output is attached. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Enthusiast
![]() Posts: 44
Karma: 10
Join Date: Dec 2012
Device: Kindle 4 & Kindle PW 3G
|
Hi there,
got somewhat of a similar problem here. I observed over the last ~1 year, that Arcamax downloads hangup maybe once in a month or 6 weeks. However, with a second or third try, it usually worked. - So I presumed the problem is server reachability or availability. Since a few days the download simply hangs a couple of hours, before I terminate. Normally Arcamax takes 3 to 5 mins. max. When I hit the kill button, I note, that the picture is similar to KecajN's post. The pics take extremely long to download. See download log below. Any idea, how to handle this? Thanks Hegi Quote:
|
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This should take care of it: https://github.com/kovidgoyal/calibr...e5593d688af4e9
|
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() Posts: 44
Karma: 10
Join Date: Dec 2012
Device: Kindle 4 & Kindle PW 3G
|
Hi Kovid,
that seems to do the trick ;-). Thanks a lot ... once again! Just a general question as I write to you: Some versions back Calibre introduced for news-downloads a header & a footer with basic navigation (forward, submenu, main menus, back). Is there a way to switch this off? Ideally on a per-recipe-basis. I've got some comics that stretch now over two pages, were I do not want this ... Cheers! - And a happy, healty and good new year to you and Krittika down in Mumbai! ... from Germany with love Stefan. |
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That feature has been there since the beginning. It is disabled when generating kindle periodicals, so set your utput profile to kindle and output format to azw3 or mobi.
|
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() Posts: 44
Karma: 10
Join Date: Dec 2012
Device: Kindle 4 & Kindle PW 3G
|
Thanks Kovid, that seems to do the trick ...
|
![]() |
![]() |
![]() |
#11 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 219070
Join Date: Aug 2010
Location: Poland
Device: PocketBoox Inkpad 3, Inkpad X
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Arcamax Comics recipe | jumafl | Recipes | 4 | 04-22-2015 10:31 AM |
error diagloge box - hangs sigil7.1 , win 7 64 | cybmole | Sigil | 3 | 03-14-2013 04:19 PM |
Arcamax standard recipe not getting feeds | jumafl | Recipes | 1 | 09-07-2012 10:26 AM |
Comics.com Recipe | BRGriff | Recipes | 0 | 05-24-2011 10:41 AM |
New Recipe:Arcamax - Comics | Starson17 | Recipes | 17 | 05-16-2011 10:56 AM |