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 07-13-2016, 04:11 PM   #16
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,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I doubt it is size, much more likely to be some markup BS is parsing incorrectly.

This should take care of it:
https://github.com/kovidgoyal/calibr...25c872b76ab88c
kovidgoyal is offline   Reply With Quote
Old 07-13-2016, 04:27 PM   #17
Aimylios
Member
Aimylios began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2016
Device: Tolino Vision 3HD
Yes, this fixes it for me. Thanks!
Aimylios is offline   Reply With Quote
Advert
Old 07-13-2016, 09:55 PM   #18
Tzar
World War II buff
Tzar does all things with Zen-like beautyTzar does all things with Zen-like beautyTzar does all things with Zen-like beautyTzar does all things with Zen-like beautyTzar does all things with Zen-like beautyTzar does all things with Zen-like beautyTzar does all things with Zen-like beautyTzar does all things with Zen-like beautyTzar does all things with Zen-like beautyTzar does all things with Zen-like beautyTzar does all things with Zen-like beauty
 
Tzar's Avatar
 
Posts: 55
Karma: 32130
Join Date: Nov 2011
Location: Montreal, Quebec
Device: Kindle Oasis 3, Kobo Aura One
Excellent, it's now working for me too! Thanks a lot kovid!
Tzar is offline   Reply With Quote
Old 07-14-2016, 09:40 AM   #19
e-BookWormz
Junior Member
e-BookWormz began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2016
Device: Kobo Touch
Also working for me. Thanks Kovid
e-BookWormz is offline   Reply With Quote
Old 11-15-2016, 08:41 AM   #20
e-BookWormz
Junior Member
e-BookWormz began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2016
Device: Kobo Touch
Tried to download FA magazine using calibre 2.61.0 - 64 bit. Download completes but EPUB file has cover and 29 pages of hyperlinks to non-existent articles.


Spoiler:
Fetch news from Foreign Affairs (Subcription)
Resolved conversion options
calibre version: 2.61.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'change_justification': 'original',
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_download_recipe': False,
'dont_split_on_page_breaks': True,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': None,
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x0000000006327710>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0,
'linearize_tables': False,
'lrf': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.KoboReaderOutput object at 0x0000000006327E48>,
'page_breaks_before': None,
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'search_replace': None,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': '',
'sr1_search': '',
'sr2_replace': '',
'sr2_search': '',
'sr3_replace': '',
'sr3_search': '',
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: Recipe Input running
Using custom recipe

Synthesizing mastheadImage

Fetching https://www.foreignaffairs.com/modal...s/save/1115031
Fetching https://www.foreignaffairs.com/modal...s/save/1115030
Fetching https://www.foreignaffairs.com/modal...s/save/1115034
Fetching https://www.foreignaffairs.com/modal...s/save/1115033
Fetching https://www.foreignaffairs.com/modal...s/save/1115032

Fetched https://www.foreignaffairs.com/modal...s/save/1115031 in 6.244000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115031 in 1.5 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115031
https://www.foreignaffairs.com/modal...s/save/1115031 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_0\article_1\index.xhtml
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115031
Fetching https://www.foreignaffairs.com/modal...s/save/1115035

Fetched https://www.foreignaffairs.com/modal...s/save/1115034 in 19.408000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115034 in 1.6 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115034
https://www.foreignaffairs.com/modal...s/save/1115034 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_0\article_4\index.xhtml
Fetching https://www.foreignaffairs.com/modal...s/save/1115036
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115034

Fetched https://www.foreignaffairs.com/modal...s/save/1115030 in 23.856000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115030 in 1.5 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115030
https://www.foreignaffairs.com/modal...s/save/1115030 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_0\article_0\index.xhtml
Fetched https://www.foreignaffairs.com/modal...s/save/1115032 in 25.436000 seconds
Fetched https://www.foreignaffairs.com/modal...s/save/1115033 in 25.459000 seconds
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115030
Fetching https://www.foreignaffairs.com/modal...s/save/1115037
Fetched https://www.foreignaffairs.com/modal...s/save/1115035 in 17.656000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115033 in 6.2 seconds
Parsed https://www.foreignaffairs.com/modal...s/save/1115035 in 6.2 seconds
Processing images...
Processing images...
Parsed https://www.foreignaffairs.com/modal...s/save/1115032 in 6.2 seconds
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115033
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115035
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115032
https://www.foreignaffairs.com/modal...s/save/1115033 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_0\article_3\index.xhtml
https://www.foreignaffairs.com/modal...s/save/1115035 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_0\article_5\index.xhtml
Fetching https://www.foreignaffairs.com/modal...s/save/1115038
Fetching https://www.foreignaffairs.com/modal...s/save/1115039
https://www.foreignaffairs.com/modal...s/save/1115032 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_0\article_2\index.xhtml
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115033
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115035
Fetching https://www.foreignaffairs.com/modal...s/save/1115004
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115032

Fetched https://www.foreignaffairs.com/modal...s/save/1115036 in 11.583000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115036 in 1.5 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115036
https://www.foreignaffairs.com/modal...s/save/1115036 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_0\article_6\index.xhtml
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115036
Fetching https://www.foreignaffairs.com/modal...s/save/1115040

Fetched https://www.foreignaffairs.com/modal...s/save/1115038 in 10.116000 seconds

Fetched https://www.foreignaffairs.com/modal...s/save/1115004 in 10.736000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115038 in 3.4 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115038
https://www.foreignaffairs.com/modal...s/save/1115038 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_0\article_8\index.xhtml
Fetching https://www.foreignaffairs.com/modal...s/save/1115041
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115038
Fetched https://www.foreignaffairs.com/modal...s/save/1115037 in 19.983000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115004 in 3.9 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115004
https://www.foreignaffairs.com/modal...s/save/1115004 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_1\article_1\index.xhtml
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115004
Fetching https://www.foreignaffairs.com/modal...s/save/1115042

Fetched https://www.foreignaffairs.com/modal...s/save/1115040 in 12.633000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115037 in 3.7 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115037
https://www.foreignaffairs.com/modal...s/save/1115037 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_0\article_7\index.xhtml
Fetching https://www.foreignaffairs.com/modal...s/save/1115043
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115037

Parsed https://www.foreignaffairs.com/modal...s/save/1115040 in 3.0 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115040
https://www.foreignaffairs.com/modal...s/save/1115040 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_1\article_2\index.xhtml
Fetching https://www.foreignaffairs.com/modal...s/save/1115044
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115040

Fetched https://www.foreignaffairs.com/modal...s/save/1115039 in 26.427000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115039 in 1.5 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115039
https://www.foreignaffairs.com/modal...s/save/1115039 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_1\article_0\index.xhtml
Fetching https://www.foreignaffairs.com/modal...s/save/1115045
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115039
Fetched https://www.foreignaffairs.com/modal...s/save/1115041 in 14.571000 seconds

Fetched https://www.foreignaffairs.com/modal...s/save/1115044 in 11.427000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115041 in 1.9 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115041
https://www.foreignaffairs.com/modal...s/save/1115041 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_1\article_3\index.xhtml
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115041

Parsed https://www.foreignaffairs.com/modal...s/save/1115044 in 1.9 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115044
https://www.foreignaffairs.com/modal...s/save/1115044 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_1\article_6\index.xhtml
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115044

Fetched https://www.foreignaffairs.com/modal...s/save/1115042 in 24.605000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115042 in 1.5 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115042
https://www.foreignaffairs.com/modal...s/save/1115042 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_1\article_4\index.xhtml
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115042

Fetched https://www.foreignaffairs.com/modal...s/save/1115043 in 24.339000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115043 in 1.5 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115043
https://www.foreignaffairs.com/modal...s/save/1115043 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_1\article_5\index.xhtml
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115043

Fetched https://www.foreignaffairs.com/modal...s/save/1115045 in 17.770000 seconds

Parsed https://www.foreignaffairs.com/modal...s/save/1115045 in 1.5 seconds
Processing images...
Recursion limit reached. Skipping links in https://www.foreignaffairs.com/modal...s/save/1115045
https://www.foreignaffairs.com/modal...s/save/1115045 saved to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0uw e_4_plumber\feed_2\article_0\index.xhtml
Downloaded article: Unknown from https://www.foreignaffairs.com/modal...s/save/1115045
Parsing all content...
Parsing feed_0/article_1/index.html ...
Forcing feed_0/article_1/index.html into XHTML namespace
Parsing feed_0/article_7/index.html ...
Forcing feed_0/article_7/index.html into XHTML namespace
Parsing feed_0/article_2/index.html ...
Forcing feed_0/article_2/index.html into XHTML namespace
Parsing feed_1/article_6/index.html ...
Forcing feed_1/article_6/index.html into XHTML namespace
Parsing feed_1/article_3/index.html ...
Forcing feed_1/article_3/index.html into XHTML namespace
Parsing feed_0/article_6/index.html ...
Forcing feed_0/article_6/index.html into XHTML namespace
Parsing feed_0/article_5/index.html ...
Forcing feed_0/article_5/index.html into XHTML namespace
Parsing feed_2/index.html ...
Initial parse failed, using more forgiving parsers
Parsing feed_2/index.html as HTML
Parsing feed_0/article_3/index.html ...
Forcing feed_0/article_3/index.html into XHTML namespace
Parsing feed_1/article_0/index.html ...
Forcing feed_1/article_0/index.html into XHTML namespace
Parsing feed_0/index.html ...
Initial parse failed, using more forgiving parsers
Parsing feed_0/index.html as HTML
Parsing feed_1/index.html ...
Initial parse failed, using more forgiving parsers
Parsing feed_1/index.html as HTML
Parsing feed_0/article_0/index.html ...
Forcing feed_0/article_0/index.html into XHTML namespace
Parsing feed_1/article_4/index.html ...
Forcing feed_1/article_4/index.html into XHTML namespace
Parsing feed_1/article_1/index.html ...
Forcing feed_1/article_1/index.html into XHTML namespace
Parsing feed_1/article_5/index.html ...
Forcing feed_1/article_5/index.html into XHTML namespace
Parsing feed_2/article_0/index.html ...
Forcing feed_2/article_0/index.html into XHTML namespace
Parsing feed_1/article_2/index.html ...
Forcing feed_1/article_2/index.html into XHTML namespace
Parsing feed_0/article_8/index.html ...
Forcing feed_0/article_8/index.html into XHTML namespace
Parsing index.html ...
Forcing index.html into XHTML namespace
Parsing feed_0/article_4/index.html ...
Forcing feed_0/article_4/index.html into XHTML namespace
Referenced file u'/profiles/foreignaffairs/themes/custom/fa/apple-touch-icon.png' not found
Referenced file u'feed_3/index.html' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...

Source base font size is 12.00000pt
Removing fake margins...
Found 17 items of level: div_4
Found 19 items of level: p_2
Found 3 items of level: div_2
Found 41 items of level: div_1
Ignoring level div_4
Ignoring level p_2
div_2 left margin stats: Counter()
div_2 right margin stats: Counter()
div_1 left margin stats: Counter({u'': 2})
div_1 right margin stats: Counter({u'': 2})
Cleaning up manifest...
Trimming unused files from manifest...
Creating EPUB Output...
Found non-unique filenames, renaming to support broken EPUB readers like FBReader, Aldiko and Stanza...
{u'feed_0/article_0/index.html': u'feed_0/article_0/index_u12.html',
u'feed_0/article_2/index.html': u'feed_0/article_2/index_u2.html',
u'feed_0/article_3/index.html': u'feed_0/article_3/index_u8.html',
u'feed_0/article_4/index.html': u'feed_0/article_4/index_u20.html',
u'feed_0/article_5/index.html': u'feed_0/article_5/index_u6.html',
u'feed_0/article_6/index.html': u'feed_0/article_6/index_u5.html',
u'feed_0/article_7/index.html': u'feed_0/article_7/index_u1.html',
u'feed_0/article_8/index.html': u'feed_0/article_8/index_u18.html',
u'feed_0/index.html': u'feed_0/index_u10.html',
u'feed_1/article_0/index.html': u'feed_1/article_0/index_u9.html',
u'feed_1/article_1/index.html': u'feed_1/article_1/index_u14.html',
u'feed_1/article_2/index.html': u'feed_1/article_2/index_u17.html',
u'feed_1/article_3/index.html': u'feed_1/article_3/index_u4.html',
u'feed_1/article_4/index.html': u'feed_1/article_4/index_u13.html',
u'feed_1/article_5/index.html': u'feed_1/article_5/index_u15.html',
u'feed_1/article_6/index.html': u'feed_1/article_6/index_u3.html',
u'feed_1/index.html': u'feed_1/index_u11.html',
u'feed_2/article_0/index.html': u'feed_2/article_0/index_u16.html',
u'feed_2/index.html': u'feed_2/index_u7.html',
u'index.html': u'index_u19.html'}
Rescaling image from 600x60 to 512x51 mastheadImage.jpg
Rescaling image from 800x1143 to 480x686 cover.jpg
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in feed_0/article_1/index.html...
No large trees found
Looking for large trees in feed_0/article_8/index_u18.html...
No large trees found
Looking for large trees in feed_1/article_5/index_u15.html...
No large trees found
Looking for large trees in feed_0/article_2/index_u2.html...
No large trees found
Looking for large trees in feed_1/article_3/index_u4.html...
No large trees found
Looking for large trees in feed_1/article_0/index_u9.html...
No large trees found
Looking for large trees in feed_1/article_1/index_u14.html...
No large trees found
Looking for large trees in feed_2/index_u7.html...
No large trees found
Looking for large trees in feed_0/article_3/index_u8.html...
No large trees found
Looking for large trees in feed_1/article_6/index_u3.html...
No large trees found
Looking for large trees in feed_0/article_5/index_u6.html...
No large trees found
Looking for large trees in feed_1/article_2/index_u17.html...
No large trees found
Looking for large trees in index_u19.html...
No large trees found
Looking for large trees in feed_0/article_7/index_u1.html...
No large trees found
Looking for large trees in feed_1/index_u11.html...
No large trees found
Looking for large trees in feed_0/index_u10.html...
No large trees found
Looking for large trees in feed_0/article_4/index_u20.html...
No large trees found
Looking for large trees in feed_2/article_0/index_u16.html...
No large trees found
Looking for large trees in feed_1/article_4/index_u13.html...
No large trees found
Looking for large trees in feed_0/article_0/index_u12.html...
No large trees found
Looking for large trees in feed_0/article_6/index_u5.html...
No large trees found
The cover image has an id != "cover". Renaming to work around bug in Nook Color
EPUB output written to C:\Users\Rob\AppData\Local\Temp\calibre_2efcmu\0ee uyq_recipe_out.epub


Uninstalled 2.61 & installed 2.71: same problem.

Any ideas/suggestions?
e-BookWormz is offline   Reply With Quote
Advert
Old 11-15-2016, 02:01 PM   #21
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,172
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Can't help with the issue but the installation of an older version won't change the recipes; those get auto updated by calibre to the current versions.
PeterT is offline   Reply With Quote
Old 11-15-2016, 09:36 PM   #22
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,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Should be fine now, although since this is a subscription recipe I cannpt test the changes I made.
kovidgoyal is offline   Reply With Quote
Old 11-16-2016, 06:36 AM   #23
e-BookWormz
Junior Member
e-BookWormz began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2016
Device: Kobo Touch
Thanks Kovid - works like a charm!
e-BookWormz is offline   Reply With Quote
Old 03-21-2017, 05:06 AM   #24
cornspicious
Member
cornspicious began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Feb 2013
Device: none
EDIT: False Alarm, please disregard this message.

Last edited by cornspicious; 03-21-2017 at 03:01 PM.
cornspicious is offline   Reply With Quote
Old 12-15-2017, 03:45 PM   #25
cornspicious
Member
cornspicious began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Feb 2013
Device: none
That time of the year again

I can't fetch news from foreignaffairs.com, does the issue affect anyone else?

Error message:
Spoiler:

Fetch news from Foreign Affairs (Subcription)
Conversion options changed from defaults:
output_profile: 'kindle_pw3'
verbose: 2
Resolved conversion options
calibre version: 3.14.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'change_justification': 'original',
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'dont_download_recipe': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': None,
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x070DABB0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0,
'linearize_tables': False,
'lrf': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_file_type': 'old',
'mobi_ignore_margins': False,
'mobi_keep_original_images': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindlePaperWhite3Outpu t object at 0x070DAF90>,
'page_breaks_before': None,
'personal_doc': '[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'search_replace': None,
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': False,
'sr1_replace': '',
'sr1_search': '',
'sr2_replace': '',
'sr2_search': '',
'sr3_replace': '',
'sr3_search': '',
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: Recipe Input running
Using custom recipe
C:\Program Files (x86)\Calibre2\app\pylib.zip\html5lib\_ihatexml.py :226: DataLossWarning: Comments cannot contain adjacent dashes
Python function terminated unexpectedly
HTTP Error 502: BAD_GATEWAY (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1088, in run
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 118, in convert
File "site-packages\calibre\web\feeds\news.py", line 903, in __init__
File "<string>", line 121, in get_browser
File "site-packages\mechanize\_mechanize.py", line 683, in submit
File "site-packages\mechanize\_mechanize.py", line 254, in open
File "site-packages\mechanize\_mechanize.py", line 310, in _mech_open
mechanize._response.httperror_seek_wrapper: HTTP Error 502: BAD_GATEWAY
cornspicious is offline   Reply With Quote
Old 12-15-2017, 09:33 PM   #26
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,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That looks like a temporary server error.
kovidgoyal is offline   Reply With Quote
Old 12-16-2017, 05:05 AM   #27
cornspicious
Member
cornspicious began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Feb 2013
Device: none
You're right, I managed to download it just fine now. Though I did try it yesterday morning and evening to make sure it wasn't the site's fault.
Anyway, thanks!
cornspicious is offline   Reply With Quote
Old 01-31-2019, 08:51 AM   #28
e-BookWormz
Junior Member
e-BookWormz began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2016
Device: Kobo Touch
Tried to download FA magazine today using calibre 3.33.1 - 64 bit. Download fails with the error message below.

Last successful download was November 2018. Last recipe update was 15 November 2016.

Looking at Foreign Affairs Magazine Current Issue page (https://www.foreignaffairs.com/issues/2019/98/1) it looks like the page layout has changed since last year, but not 100% sure.

Help anyone?

Error Message:
Spoiler:
calibre, version 3.33.1 (win32, embedded-python: True)
Conversion error: Failed: Fetch news from Foreign Affairs (Subcription)

Fetch news from Foreign Affairs (Subcription)
Conversion options changed from defaults:
verbose: 2
output_profile: 'kobo'
Resolved conversion options
calibre version: 3.33.1
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'change_justification': 'original',
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_download_recipe': False,
'dont_split_on_page_breaks': True,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'epub_version': '2',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': None,
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x000000000434C438>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0,
'linearize_tables': False,
'lrf': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.KoboReaderOutput object at 0x000000000434CBA8>,
'page_breaks_before': None,
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'search_replace': None,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': '',
'sr1_search': '',
'sr2_replace': '',
'sr2_search': '',
'sr3_replace': '',
'sr3_search': '',
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: Recipe Input running
Downloading recipe urn: builtin:foreignaffairs
Trying to get latest version of recipe: foreignaffairs
C:\Program Files\Calibre2\app\pylib.zip\html5lib\_ihatexml.py :226: DataLossWarning: Comments cannot contain adjacent dashes
Python function terminated unexpectedly
'NoneType' object has no attribute 'find' (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 199, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 35, in gui_convert_recipe
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 27, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1106, in run
File "site-packages\calibre\customize\conversion.py", line 244, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 136, in convert
File "site-packages\calibre\web\feeds\news.py", line 1018, in download
File "site-packages\calibre\web\feeds\news.py", line 1185, in build_index
File "<string>", line 57, in parse_index
AttributeError: 'NoneType' object has no attribute 'find'
e-BookWormz is offline   Reply With Quote
Old 02-04-2019, 11:35 PM   #29
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,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The website has been changed to use javascript to load the content on the index page, which makes it more work than I am interested in doing to parse it.
kovidgoyal is offline   Reply With Quote
Old 02-06-2019, 06:00 AM   #30
e-BookWormz
Junior Member
e-BookWormz began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2016
Device: Kobo Touch
Thanks for the feedback Kovid. I respect your decision not to spend time on updating the recipe.

There are some other options I will investigate.

Calibre is still awesome!
e-BookWormz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Foreign Affairs recipe for news from the site (not the magazine) mendesitba Recipes 0 12-08-2015 09:14 PM
Foreign Affairs recipe update rainrdx Recipes 1 03-25-2013 06:06 PM
Not Working: Foreign Affairs recipe besianm Recipes 1 03-22-2013 10:37 PM
Foreign Affairs-Free tdonline Recipes 2 03-11-2012 09:51 PM
Problem: Recipe for Foreign Affairs not fetching premium articles besianm Recipes 1 03-07-2012 04:41 AM


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


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