Today, 02:14 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2024
Device: Kindle
|
The Economist recipe does not work
I have been using the recipe for The Economist for years and never had any problem. Today it seem to have failed due to a TypeError. I am running version 7.12.0, not the latest, and I am not sure if I need to update to the latest Calibre version to make this work. Is anyone else also experiencing this and is there any workaround?
Error details copied here: Code:
calibre, version 7.12.0 (linux, embedded-python: False) Conversion error: Failed: Fetch news from The Economist Fetch news from The Economist Conversion options changed from defaults: verbose: 2 Resolved conversion options calibre version: 7.12.0 {'add_alt_text_to_img': False, '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 0x7b789b82f7a0>, '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': False, 'no_inline_toc': False, 'output_profile': <calibre.customize.profiles.OutputProfile object at 0x7b789b7e9a00>, '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, 'transform_html_rules': None, 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: Recipe Input running Downloading recipe urn: builtin:economist Trying to get latest version of recipe: economist Using user agent: common_words/based Traceback (most recent call last): File "/usr/bin/calibre-parallel", line 21, in <module> sys.exit(main()) ^^^^^^ File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 215, in main result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 31, in gui_convert_recipe gui_convert('from-gui.recipe', output, recommendations, notification=notification, File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert plumber.run() File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1127, in run self.oeb = self.input_plugin(stream, self.opts, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/calibre/calibre/customize/conversion.py", line 245, in __call__ ret = self.convert(stream, options, file_ext, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/recipe_input.py", line 138, in convert ro.download() File "/usr/lib/calibre/calibre/web/feeds/news.py", line 1069, in download res = self.build_index() ^^^^^^^^^^^^^^^^^^ File "/usr/lib/calibre/calibre/web/feeds/news.py", line 1248, in build_index feeds = feeds_from_index(self.parse_index(), oldest_article=self.oldest_article, ^^^^^^^^^^^^^^^^^^ File "<string>", line 249, in parse_index TypeError: can only concatenate str (not "dict") to str |
Today, 02:48 AM | #2 |
creator of calibre
Posts: 44,127
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Update calibre and you will be fine or wait an hour and retry and you will be fine.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Economist recipe does not work anymore | johndeer25 | Recipes | 33 | 04-21-2017 08:48 AM |
The Economist Recipe | NSILMike | Recipes | 6 | 05-20-2016 07:40 AM |
Economist Recipe | Dhruv | Recipes | 5 | 10-10-2014 08:15 PM |
Economist recipe... | RobbieW | Recipes | 2 | 10-03-2013 05:01 PM |
Economist recipe | jdomingos76 | Recipes | 1 | 03-08-2011 08:33 AM |