11-19-2021, 04:50 PM | #61 | |
Grand Sorcerer
Posts: 6,745
Karma: 86234863
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Last edited by jhowell; 11-19-2021 at 05:17 PM. Reason: add links |
|
11-20-2021, 02:15 AM | #62 |
Groupie
Posts: 182
Karma: 2010542
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
|
I've just attached 0.0.13-beta1 in the 2nd post in this thread, with the following changes:
- Choosing between ADE 2.0.1, 3.0.1, 4.0.3 and 4.5.11 while authorizing. - Switching between ADE 1.7.2, 2.0.1, 3.0.1, 4.0.3 and 4.5.11 afterwards. - Importing an existing activation from ADE (Windows & Mac only, no Linux/Wine support yet) - Fix race condition when importing multiple ACSMs at the same time - Fix bug where authorization would fail with non-ASCII characters in username. More details can be found in the 2nd post. I have tested both authorization and fulfillment with all four/five supported versions, and they did all work. Switching ADE versions only changes a version entry in the device.xml file and only becomes "active" with the next fulfillment. To Adobe, this should look like you just have multiple different versions of ADE installed on one machine. |
Advert | |
|
11-21-2021, 12:23 AM | #63 | |
Grand Sorcerer
Posts: 6,745
Karma: 86234863
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Code:
fingerprint = activationxml.find("./%s/%s" % (adNS("activationToken"), adNS("fingerprint"))).text fingerprint = activationxml.find("./%s/%s" % (adNS("activationToken"), adNS("deviceType"))).text |
|
11-21-2021, 02:13 AM | #64 |
just an egg
Posts: 1,693
Karma: 5514284
Join Date: Mar 2015
Device: Kindle, iOS
|
Thank you Leseratte_10 for all your work on this great plugin.
I ran a quick test with 0.0.13-beta2 on macOS Catalina and Calibre 5.32.0. Installing 0.0.13-beta2 over a previous version throws an error: ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'are_ade_version_lists_valid' referenced before assignment Spoiler:
Deleting the older plugin then installing 0.0.13-beta2 worked fine. |
11-21-2021, 02:55 AM | #65 | |
Groupie
Posts: 182
Karma: 2010542
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
|
Yeah, you're absolutely correct, that second line is supposed to be "device_type".
Quote:
Did this error appear while *installing* the plugin, or did it install successfully and the error showed up when you tried opening the config dialog without first restarting Calibre? In the 2nd case that would be normal. Last edited by Leseratte_10; 11-21-2021 at 03:14 AM. |
|
Advert | |
|
11-21-2021, 04:36 AM | #66 |
just an egg
Posts: 1,693
Karma: 5514284
Join Date: Mar 2015
Device: Kindle, iOS
|
Hmmm ... I thought it was while installing the plugin, but now I cannot reproduce the error, so I'm not sure what happened Sorry for the false alarm!
|
11-24-2021, 08:36 AM | #67 |
Guru
Posts: 674
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
I have now tested this plugin (0.13b2, Win10) for some library books (epub and pdf). Works very nicely!
Will make life on Linux much easier. |
11-24-2021, 06:55 PM | #68 | |
Wizard
Posts: 2,126
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
On my Linux calibre Then installed the beta--will need to restart calibre if installing over the DeACSM_0.0.12.zip--then imported the activation and key it works. bernie |
|
11-25-2021, 04:22 AM | #69 |
Groupie
Posts: 182
Karma: 2010542
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
|
Thanks for testing.
I've just uploaded beta3 to the second post - the device type bug reported by jhowell is fixed, you can now also import an activation from an ADE install in Wine on Linux, and you can remove an existing authorization by pressing Ctrl+Shift+D in the plugin settings. |
11-26-2021, 01:26 AM | #70 |
just an egg
Posts: 1,693
Karma: 5514284
Join Date: Mar 2015
Device: Kindle, iOS
|
Thank you @Leseratte_10!
beta3 looking good on macOS. (Note: the keyboard equivalent to remove an existing authorization on Mac is Cmd+Shift+D) Last edited by odamizu; 11-26-2021 at 01:59 AM. |
11-26-2021, 02:44 AM | #71 |
Groupie
Posts: 182
Karma: 2010542
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
|
According to the Python documentation, setting up the key sequence "Ctrl+Shift+D" should automatically handle that as "Cmd+Shift+D" on MacOS. Does this not work? I don't have access to a Mac right now to test.
You can just press this to test, there's a confirmation dialog before anything is actually deleted. |
11-26-2021, 01:31 PM | #72 | |
just an egg
Posts: 1,693
Karma: 5514284
Join Date: Mar 2015
Device: Kindle, iOS
|
I did not express myself well. The plugin is fine; my comment was in regards to the instructions.
All I was trying to say is that Macs have both Ctrl key and Cmd key. When providing instructions that may be read by Mac users, it's helpful to clarify that the key combination for Windows (and Linux?) is Ctrl+Shift+D whereas on Mac it's Cmd+Shift+D. Thank you for great plugin Quote:
Last edited by odamizu; 11-26-2021 at 02:12 PM. |
|
11-28-2021, 05:12 PM | #73 | |
just an egg
Posts: 1,693
Karma: 5514284
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Thank you Last edited by odamizu; 11-28-2021 at 11:58 PM. |
|
11-29-2021, 03:59 AM | #74 | |
Groupie
Posts: 182
Karma: 2010542
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
|
Quote:
|
|
11-29-2021, 05:13 PM | #75 | |
just an egg
Posts: 1,693
Karma: 5514284
Join Date: Mar 2015
Device: Kindle, iOS
|
What witchcraft is this, magically changing my Mac into a Windows machine!
Just kidding. Thank you for the info Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] GetFileName | Terisa de morgan | Plugins | 417 | 07-16-2024 04:37 AM |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 02:25 AM |
help with epub on_import filetype plugin | digitalvideo | Development | 4 | 02-27-2020 06:13 AM |
Question about file_types in FileType plugin | Terisa de morgan | Plugins | 6 | 02-08-2017 06:53 AM |
Zip Filetype Plugin? | rsingley | Plugins | 7 | 02-11-2011 06:11 PM |