Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 10513  / 1 Year ago, thu, april 6, 2023, 11:12:23

I'm using Calibre to manage my ebooks and I'm trying to install a plugin that will allow me to manage library books that I get through Adobe Digital Editions via Wine. I've got everything installed, but I need to run an additional script to tie it all together. I get to one step in the instructions that says "you'll need to run the adobekey.pyw script using the python installation in your Wine system."



So how do I run a script using the python installation in Wine?



This is my first time using Wine, so please make your answers as basic as possible.


More From » wine

 Answers
2

Here's the steps provided by the Calibre Ineptepub plugin's Readme



DRM tool available here: http://apprenticealf.wordpress.com/2012/09/10/drm-removal-tools-for-ebooks/



Linux and Adobe Digital Editions ePubs



Here are the instructions for using the tools with ePub books and Adobe Digital Editions on Linux under Wine. (Thank you mclien and Fadel!)




  1. download the most recent version of wine from winehq.org (1.3.29 in my case)


  2. properly install Wine (see the Wine site for details)


  3. python 2.7 should already be installed on your system but you may need the following additional python package



    apt-get install python-tk

  4. all programms need to be installed as normal user. The .exe files are installed using ‘wine ’ but .msi files must be installed using ‘wine start ’
    we need:



    a) Adobe Digital Edition 1.7.2(from: http://kb2.adobe.com/cps/403/kb403051.html)
    (there is a “can’t install ADE” site, where the setup.exe hides)



    b) ActivePython-2.7.2.5-win32-x86.msi (from: http://www.activestate.com/activepython/downloads)



    c) Win32OpenSSL_Light-0_9_8r.exe (from: http://www.slproweb.com/)



    d) pycrypto-2.3.win32-py2.7.msi (from: http://www.voidspace.org.uk/python/modules.shtml)


  5. now get and unpack the very latest tools_vX.X (from Apprentice Alf) in the users drive_c of wine
    (~/.wine/drive_c/)


  6. start ADE with:
    wine digitaleditions.exe or from the Unity Dash search "Adobe Digital Editions"


  7. register this instance of ADE with your adobeID and close it, open terminal and change to the tools_vX.X dir:



    cd ~/.wine/drive_c/tools_vX.X/Other_Tools/

  8. create the adeptkey.der with:
    wine python ineptkey.py (only need once!)
    (key will be here: ~/.wine/drive_c/tools_vX.X/Other_Tools/adeptkey.der)


  9. Use ADE running under Wine to dowload all of your purchased ePub ebooks


  10. install the ineptepub and ineptpdf plugins from the tools as discribed in the readmes.


  11. copy the adeptkey.der into the config dir of calibre (~/.config/calibre in debian/ubuntu). Your ADE books imported to calibre will automatically be freed from DRM.



[#32000] Friday, April 7, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
whoppinolo

Total Points: 93
Total Questions: 113
Total Answers: 107

Location: Cyprus
Member since Mon, Oct 24, 2022
2 Years ago
whoppinolo questions
Tue, Feb 14, 23, 08:30, 1 Year ago
Wed, Sep 28, 22, 06:56, 2 Years ago
Fri, May 27, 22, 01:55, 2 Years ago
Tue, Oct 12, 21, 09:33, 3 Years ago
;