![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2024
Device: Kindle paperwhite
|
News recepies failing in Calibre on HomeAssistant
Hello! I'm using Calibre 7.9 in kasmVNC on homeassistant.
I want do get the Economist from the news. But it is failing everytime, every receipe is failing. Code:
calibre, version 7.9.0 (linux, embedded-python: True) Conversion error: Failed: Fetch news from The Economist Fetch news from The Economist Conversion options changed from defaults: verbose: 2 output_profile: 'kindle_pw' Resolved conversion options calibre version: 7.9.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_max_image_size': 'none', '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 0x7fa69b35cd90>, '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.KindlePaperWhiteOutput object at 0x7fa69b367c10>, '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, 'transform_html_rules': None, 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: Recipe Input running Downloading recipe urn: custom:1000 Using user agent: common_words/based Kindle Output profile being used, reducing image quality to keep file size below amazon email threshold Traceback (most recent call last): File "mechanize/_urllib2_fork.py", line 1236, in do_open File "http/client.py", line 1286, in request File "http/client.py", line 1332, in _send_request File "http/client.py", line 1281, in endheaders File "http/client.py", line 1041, in _send_output File "http/client.py", line 979, in send File "http/client.py", line 1451, in connect File "http/client.py", line 945, in connect File "socket.py", line 827, in create_connection File "socket.py", line 962, in getaddrinfo socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "runpy.py", line 198, in _run_module_as_main File "runpy.py", line 88, in _run_code File "site.py", line 47, in <module> File "site.py", line 43, in main File "calibre/utils/ipc/worker.py", line 215, in main File "calibre/gui2/convert/gui_conversion.py", line 31, in gui_convert_recipe File "calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert File "calibre/ebooks/conversion/plumber.py", line 1122, in run File "calibre/customize/conversion.py", line 245, in __call__ File "calibre/ebooks/conversion/plugins/recipe_input.py", line 138, in convert File "calibre/web/feeds/news.py", line 1069, in download File "calibre/web/feeds/news.py", line 1248, in build_index File "<string>", line 244, in parse_index File "calibre/web/feeds/news.py", line 714, in index_to_soup File "mechanize/_mechanize.py", line 241, in open_novisit File "mechanize/_mechanize.py", line 287, in _mech_open File "mechanize/_opener.py", line 193, in open File "mechanize/_urllib2_fork.py", line 425, in _open File "mechanize/_urllib2_fork.py", line 414, in _call_chain File "calibre/utils/browser.py", line 29, in https_open File "mechanize/_urllib2_fork.py", line 1240, in do_open urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> I've reinstalled Calibre multiple times, should i download some Python packages? Thanks for any help. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,239
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Whatever machine you are running on is unable to resolve hostnames via DNS
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2024
Device: Kindle paperwhite
|
Ahh, okay. So should I tweak settings in Calibre? or where
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2024
Device: Kindle paperwhite
|
Oh my god, it is working now. Thanks a lot
|
![]() |
![]() |
![]() |
#5 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,085
Karma: 6425108
Join Date: Sep 2020
Device: Calibre E-book viewer
|
maybe try google or cloudflare DNS (8.8.8.8 or 1.1.1.1)
https://community.home-assistant.io/...hassio/194197/ https://kasmweb.com/docs/latest/how_...s_servers.html edit: oh, I see. That's Calibre on Linux, so the links are probably useless Last edited by Comfy.n; 04-28-2024 at 06:45 AM. |
![]() |
![]() |
Advert | |
|
![]() |
Tags |
homeassistant, python, receipe |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fetch news Deutsche Welle failing | dagon | Recipes | 2 | 09-14-2023 08:45 AM |
Failing to fetch news from hurriyet daily news help | MrK03 | Recipes | 2 | 06-12-2019 01:40 AM |
News Fetch from Scientific American failing | amj | Recipes | 3 | 02-28-2019 10:33 PM |
Cyprus News Live Now Failing | Sony Reader | Recipes | 0 | 06-22-2011 03:49 AM |
Psychology today news feed failing to download | Shuichiro | Recipes | 1 | 05-14-2011 05:11 AM |