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 02-10-2017, 05:06 PM   #1
Waitingforatrain
Groupie
Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.
 
Posts: 153
Karma: 902096
Join Date: Jul 2013
Device: Kindle Oasis 3, Kindle Voyage
NY Times Headlines builtin fails

Am new to this whole recipe thing. Was trying to use the builtin to retrive just the headlines and it fails with this. Help please? The full New York Times works but am trying to reduce file size and am mainly interested only in the headlines (en). Thanks.

Fetch news from New York Times Headlines
Conversion options changed from defaults:
output_profile: 'kindle_voyage'
verbose: 2
Resolved conversion options
calibre version: 2.79.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 0x00000000053E5D30>,
'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.KindleVoyageOutput object at 0x00000000054DC470>,
'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
Queued 0 articles
Python function terminated unexpectedly
No articles found, aborting (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 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 1074, in run
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 119, in convert
File "site-packages\calibre\web\feeds\news.py", line 1001, in download
File "site-packages\calibre\web\feeds\news.py", line 1176, in build_index
ValueError: No articles found, aborting
Waitingforatrain is offline   Reply With Quote
Old 02-10-2017, 09:27 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: 45,261
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Probably the markup on the todays headlines page has changed and the recipe needs to be updated for it.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-11-2017, 02:30 AM   #3
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: 45,261
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...b40071dc6d9ad2
kovidgoyal is offline   Reply With Quote
Old 02-17-2017, 08:03 AM   #4
Acryde
Member
Acryde began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2012
Device: Onyx Boox M92
Hi Kovid,

I tried the new recipe you made for both nyt headlines and subscription and it doesn't seem to be working yet.

I get this message for New York Times Headlines:

[Please put long posts in spoiler tags - MODERATOR]

Spoiler:


calibre, version 2.74.0 (win32, embedded-python: True)
Erreur lors de la conversion: Échoué: Récupérer des informations à partir de New York Times Headlines

Récupérer des informations à partir de New York Times Headlines
Resolved conversion options
calibre version: 2.74.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 0x0000000006468438>,
'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.GenericEink object at 0x00000000064687B8>,
'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
Queued 0 articles
Python function terminated unexpectedly
No articles found, aborting (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 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 1064, in run
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 119, in convert
File "site-packages\calibre\web\feeds\news.py", line 1001, in download
File "site-packages\calibre\web\feeds\news.py", line 1176, in build_index
ValueError: No articles found, aborting





And what seems to be the same error message for New York Times:

Récupérer des informations à partir de New York Times
Resolved conversion options
calibre version: 2.74.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 0x0000000006471400>,
'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.GenericEink object at 0x0000000006471780>,
'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
Skipping article Questions, and Opinions, About Flickr (jeu., 30 mai, 2013 19:53) from feed Tech - News as it is too old.
Skipping article The E-Book Piracy Debate, Revisited (jeu., 09 mai, 2013 20:39) from feed Tech - News as it is too old.
Skipping article Genius in Helsinki! (lun., 06 mai, 2013 14:00) from feed Tech - News as it is too old.
Skipping article A Journey to the World of European Tech (jeu., 02 mai, 2013 19:11) from feed Tech - News as it is too old.
Skipping article Typing, Made Easy (jeu., 25 avr., 2013 21:11) from feed Tech - News as it is too old.
Skipping article The HTC One Deserves Its Place in the Spotlight (jeu., 11 avr., 2013 00:34) from feed Tech - News as it is too old.
Skipping article Hurrahs and Harrumphs for T-Mobile (jeu., 04 avr., 2013 22:23) from feed Tech - News as it is too old.
Skipping article Great April’s Fools Pranks From Around the Web (lun., 01 avr., 2013 19:47) from feed Tech - News as it is too old.
Skipping article An Easy Way to Capture Live Video of Your iPhone’s Screen (jeu., 28 mars, 2013 20:37) from feed Tech - News as it is too old.
Skipping article Addressing Fears About LED Light Bulbs (jeu., 21 mars, 2013 20:15) from feed Tech - News as it is too old.
Skipping article TiVo Explains Extra Charge for the Mini (ven., 15 mars, 2013 20:13) from feed Tech - News as it is too old.
Skipping article Reselling E-Books and the One-Penny Problem (jeu., 14 mars, 2013 20:11) from feed Tech - News as it is too old.
Skipping article Wi-Fi for Every Room in the Home (jeu., 07 mars, 2013 21:01) from feed Tech - News as it is too old.
Skipping article What Is the Point of Google’s Chromebook Pixel? as it is too old
Skipping article Weighing In on Sensor Size as it is too old
Failed feed: Tech - Bits
Traceback (most recent call last):
File "site-packages\calibre\web\feeds\news.py", line 1602, in parse_feeds
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 203, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 255, in _mech_open
httperror_seek_wrapper: HTTP Error 301: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Moved Permanently

Failed feed: Tech - Open
Traceback (most recent call last):
File "site-packages\calibre\web\feeds\news.py", line 1602, in parse_feeds
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 203, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 255, in _mech_open
httperror_seek_wrapper: HTTP Error 301: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Moved Permanently

Queued 0 articles
Python function terminated unexpectedly
No articles found, aborting (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 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 1064, in run
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 119, in convert
File "site-packages\calibre\web\feeds\news.py", line 1001, in download
File "site-packages\calibre\web\feeds\news.py", line 1176, in build_index
ValueError: No articles found, aborting



Would you have any ideas about what's going wrong?

Best regards,

Acryde

Last edited by Dr. Drib; 02-17-2017 at 09:53 AM.
Acryde is offline   Reply With Quote
Old 02-17-2017, 09:08 AM   #5
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: 45,261
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I just tried the headlines recipe -- worked for me. You sure you using the updated recipe? Just use the builtin recipe, it is updated automatically.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-21-2017, 03:41 AM   #6
Waitingforatrain
Groupie
Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.Waitingforatrain ought to be getting tired of karma fortunes by now.
 
Posts: 153
Karma: 902096
Join Date: Jul 2013
Device: Kindle Oasis 3, Kindle Voyage
Quote:
Originally Posted by kovidgoyal View Post
I just tried the headlines recipe -- worked for me. You sure you using the updated recipe? Just use the builtin recipe, it is updated automatically.
Thanks, it seems to be working just fine for me too.
Waitingforatrain is offline   Reply With Quote
Old 02-21-2017, 07:38 AM   #7
Acryde
Member
Acryde began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2012
Device: Onyx Boox M92
Oh I didn't know that the recipes are updated automatically, that's good to know! So, I tried again yesterday and today using built-in recipes both for NTY headlines and NYT sub but it is still not working...

For NYT headlines:
Spoiler:
calibre, version 2.74.0 (win32, embedded-python: True)
Erreur lors de la conversion: Échoué: Récupérer des informations à partir de New York Times Headlines

Récupérer des informations à partir de New York Times Headlines
Resolved conversion options
calibre version: 2.74.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 0x00000000063AB5C0>,
'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.GenericEink object at 0x00000000063AB940>,
'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
Queued 0 articles
Python function terminated unexpectedly
No articles found, aborting (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 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 1064, in run
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 119, in convert
File "site-packages\calibre\web\feeds\news.py", line 1001, in download
File "site-packages\calibre\web\feeds\news.py", line 1176, in build_index
ValueError: No articles found, aborting


NYT:
Spoiler:
calibre, version 2.74.0 (win32, embedded-python: True)
Erreur lors de la conversion: Échoué: Récupérer des informations à partir de New York Times

Récupérer des informations à partir de New York Times
Resolved conversion options
calibre version: 2.74.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 0x000000000635D3C8>,
'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.GenericEink object at 0x000000000635D748>,
'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
Skipping article Questions, and Opinions, About Flickr (jeu., 30 mai, 2013 19:53) from feed Tech - News as it is too old.
Skipping article The E-Book Piracy Debate, Revisited (jeu., 09 mai, 2013 20:39) from feed Tech - News as it is too old.
Skipping article Genius in Helsinki! (lun., 06 mai, 2013 14:00) from feed Tech - News as it is too old.
Skipping article A Journey to the World of European Tech (jeu., 02 mai, 2013 19:11) from feed Tech - News as it is too old.
Skipping article Typing, Made Easy (jeu., 25 avr., 2013 21:11) from feed Tech - News as it is too old.
Skipping article The HTC One Deserves Its Place in the Spotlight (jeu., 11 avr., 2013 00:34) from feed Tech - News as it is too old.
Skipping article Hurrahs and Harrumphs for T-Mobile (jeu., 04 avr., 2013 22:23) from feed Tech - News as it is too old.
Skipping article Great April’s Fools Pranks From Around the Web (lun., 01 avr., 2013 19:47) from feed Tech - News as it is too old.
Skipping article An Easy Way to Capture Live Video of Your iPhone’s Screen (jeu., 28 mars, 2013 20:37) from feed Tech - News as it is too old.
Skipping article Addressing Fears About LED Light Bulbs (jeu., 21 mars, 2013 20:15) from feed Tech - News as it is too old.
Skipping article TiVo Explains Extra Charge for the Mini (ven., 15 mars, 2013 20:13) from feed Tech - News as it is too old.
Skipping article Reselling E-Books and the One-Penny Problem (jeu., 14 mars, 2013 20:11) from feed Tech - News as it is too old.
Skipping article Wi-Fi for Every Room in the Home (jeu., 07 mars, 2013 21:01) from feed Tech - News as it is too old.
Skipping article What Is the Point of Google’s Chromebook Pixel? as it is too old
Skipping article Weighing In on Sensor Size as it is too old
Failed feed: Tech - Bits
Traceback (most recent call last):
File "site-packages\calibre\web\feeds\news.py", line 1602, in parse_feeds
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 203, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 255, in _mech_open
httperror_seek_wrapper: HTTP Error 301: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Moved Permanently

Failed feed: Tech - Open
Traceback (most recent call last):
File "site-packages\calibre\web\feeds\news.py", line 1602, in parse_feeds
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 203, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize\_mechanize.py", line 255, in _mech_open
httperror_seek_wrapper: HTTP Error 301: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Moved Permanently

Queued 0 articles
Python function terminated unexpectedly
No articles found, aborting (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 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 1064, in run
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 119, in convert
File "site-packages\calibre\web\feeds\news.py", line 1001, in download
File "site-packages\calibre\web\feeds\news.py", line 1176, in build_index
ValueError: No articles found, aborting


What's going wrong? Is it possible that I modified the built-in recipe and now it's not updated automatically any more?
Acryde is offline   Reply With Quote
Old 02-21-2017, 07:40 AM   #8
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: 45,261
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the builtin recipe, not the custom one.
kovidgoyal is offline   Reply With Quote
Old 02-21-2017, 07:57 AM   #9
Acryde
Member
Acryde began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2012
Device: Onyx Boox M92
But as I said, that's what I did... I even removed my custom recipes based on NYT to be sure not to use them again but it's still not working... That's why I was wondering if it is possible that I changed these builtin recipe and that it is why it's not working anymore?
Acryde is offline   Reply With Quote
Old 02-21-2017, 08:44 AM   #10
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: 45,261
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, you cannot change builtin recipes. It may be that the NYT serves you different content because you are in europe (I am guessing from the french localistaions in the log).
kovidgoyal is offline   Reply With Quote
Old 02-21-2017, 10:56 AM   #11
Acryde
Member
Acryde began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2012
Device: Onyx Boox M92
Ok, I see. Yes indeed I'm french and am trying to retrieve these news from Paris. Thus I guess it's quite complicated to fix the code in order to make it take into account multiple locations. It's a pity but not a big deal, I'm already very happy with le monde's recipe you fixed!
Thank you
Acryde is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Emailing from Calibre fails at times Klippy Calibre 10 05-25-2015 05:16 PM
Financial Times recipe fails since Jan 24 MightyMicro Recipes 3 01-28-2012 07:36 AM
new Ynet recipie to be builtin marbs Recipes 0 11-04-2010 04:54 AM
NY Times/NY Times Headlines nickredding Recipes 2 11-02-2010 08:13 PM
NY Times Recipe in Calibre 6.36 Fails keyrunner Calibre 1 01-28-2010 11:56 AM


All times are GMT -4. The time now is 12:42 PM.


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