![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
|
De-drm problem affecting NYRB Archive recipe?
I've suddenly noticed DeDrm isn't working anymore. Only after running up agains the problem I found this was a common problem and was also mentioned here in a sticky. That's rather a major bummer, and I do wonder -- are there plans to get this working again? Because I'm not sure about downgrading to 4.23 (apart from wondering how to do that), I'd like to have the latest versions of software & drivers to keep it working with the latest version of the Kobo firmware.
But in addition to that, I now have a problem with a recipe I sometimes used to retrieve back issues of the New York Review of Books (which I have a subscripiton to). This no longer works, an done of the first lines in the error reports says: Failed to initialize plugin: 'C:\\Users\\<path>\\calibre\\plugins\\DeDRM.zip' Failed to initialize plugin: 'C:\\Users\\<path>\\calibre\\plugins\\Inept Epub DeDRM.zip' I don't know what DeDrm would have to do with retrieving NYRB, but in any case: is the problem with the DeDrm zip affecting this recipe now as well? Or is there something else wrong with it? Here's the full text of the error message: Code:
calibre, version 5.2.0 (win32, embedded-python: True) Conversion error: Failed: Fetch news from NYRB Archive Fetch news from NYRB Archive Failed to initialize plugin: 'C:\\Users\\<path>\\calibre\\plugins\\DeDRM.zip' Failed to initialize plugin: 'C:\\Users\\<path>\\calibre\\plugins\\Inept Epub DeDRM.zip' Conversion options changed from defaults: verbose: 2 Resolved conversion options calibre version: 5.2.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, '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 0x08224880>, '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.OutputProfile object at 0x082249E8>, '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: custom:1002 Using user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 Traceback (most recent call last): File "runpy.py", line 194, in _run_module_as_main File "runpy.py", line 87, in _run_code File "site.py", line 82, in <module> File "site.py", line 77, in main File "site.py", line 49, in run_entry_point File "calibre\utils\ipc\worker.py", line 215, in main File "calibre\gui2\convert\gui_conversion.py", line 34, in gui_convert_recipe File "calibre\gui2\convert\gui_conversion.py", line 28, in gui_convert File "calibre\ebooks\conversion\plumber.py", line 1108, 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 904, in __init__ File "<string>", line 55, in get_browser File "mechanize\_mechanize.py", line 809, in __setitem__ File "mechanize\_form_controls.py", line 1963, in __setitem__ File "mechanize\_form_controls.py", line 2355, in find_control File "mechanize\_form_controls.py", line 2448, in _find_control mechanize._form_controls.ControlNotFoundError: no control matching name 'user_login' |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
|
Well, I thought I'd try out the following: downgrading back to 4.23 and trying this News script again.
And it turns out the error seems unrelated to the Dedrm problem. In 4.23 the DeDrm plugin does work again (a relief), but the recipe still fails to work for me. Don't know what either I or the software are doing wrong. And the error report for the recipe doesn't contain those de-drm lines anymore either. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The website has changed, you need to update your recipe accordingly.
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
One other thing you can do is uninstall the Inept Epub DeDRM as it's no longer needed as everything is all in the DeDRM plugin.
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
|
Thanks. Unfortunately, I'm not versed in python or whatever language those scripts are written in.
What I tried, was copy the first of these two recipes: https://github.com/kovidgoyal/calibr...b6864438e5bda1 And replace the URL's in these lines soup = self.index_to_soup('http://www.nybooks.com/current-issue') soup = self.index_to_soup('https://www.nybooks.com/current-issue') by the actual URL of a specific back issue https://www.nybooks.com/issues/2013/09/26/ But no dice. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
NYRB back issue recipe | franklekens | Recipes | 0 | 05-18-2020 10:52 AM |
Need help with recipe for AO3 Fanfiction archive | BookJunkieLI | Recipes | 4 | 12-27-2012 09:49 AM |
Recipe Request SPIEGEL/SPON Archive | calyo98 | Recipes | 0 | 09-09-2012 12:11 PM |
Request for Le Monde Diplo En archive recipe | michaelernst | Recipes | 6 | 10-17-2010 11:13 AM |
Kindle Archive if drm removed | modkindle | Amazon Kindle | 8 | 09-03-2010 08:55 AM |