06-04-2024, 10:51 PM | #1 |
Fool
Posts: 393
Karma: 3557934
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
|
Can't Customize DeDRM plugin
I just tried to add information for a new kindle to the DeDRM plugin. This has always worked fine.
Today I got the message that the widget init() "takes 2 positional arguments but three were given". I recently updated to 7.12.0 but I don't think I've done this in quite a while, so I'm not sure what the last version that worked was. The details text was: calibre, version 7.12.0 Anyone have any idea why this happened or how to fix it?ERROR: Unhandled exception: <b>TypeError</b>:ConfigWidget.__init__() takes 2 positional arguments but 3 were given calibre 7.12 embedded-python: True Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19045') Python 3.11.5 Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free') Interface language: None EXE path: C:\Program Files\Calibre2\calibre.exe Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 12, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 12, 0) && Ebook Translator (2, 3, 4) && Favourites Menu (1, 3, 1) && KFX metadata reader (from KFX Input) (2, 12, 0) && From KFX (2, 12, 0) && KFX Input (2, 12, 0) && KindleUnpack - The Plugin (0, 83, 1) && Modify ePub (1, 8, 3) && OverDrive Libby (0, 1, 9) Traceback (most recent call last): File "calibre\gui2\preferences\plugins.py", line 298, in customize_plugin File "calibre\gui2\preferences\plugins.py", line 375, in modify_plugin File "calibre\customize\__init__.py", line 160, in do_user_config File "calibre_plugins.dedrm.__init__", line 1054, in config_widget TypeError: ConfigWidget.__init__() takes 2 positional arguments but 3 were given Thanks. |
06-04-2024, 11:38 PM | #2 |
Custom User Title
Posts: 9,099
Karma: 62844063
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
06-05-2024, 06:31 AM | #3 | |
Resident Curmudgeon
Posts: 75,422
Karma: 134254362
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-05-2024, 06:32 AM | #4 | |
Resident Curmudgeon
Posts: 75,422
Karma: 134254362
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
En attente du plugin DeDRM | larfran | Calibre | 1 | 10-02-2020 06:23 PM |
calibre et le plugin DeDrm | Patrick Faret | Calibre | 3 | 09-27-2020 06:00 PM |
[Editor Plugin] - Enabling 'Customize plugin' dialog directly from the Editor | thiago.eec | Development | 7 | 01-09-2019 08:05 PM |
DeDRM plugin | aldaco12 | Plugins | 1 | 08-27-2016 01:56 PM |