Quote:
Originally Posted by lester
Hi, I'm hoping some can help. I have just bought an iPad and I wold like to remove the DRM from my epub books so that I can read them in iBooks. I have successfully installed Python (v2.6.5) and Pycrypto (v2.1.0) on my mac. I have also run ineptkeymac.py (v1.0) to generate the key (adeptkey.der), which I saved in a folder under Documents names "Python26" . The problem is when I run aineptepub.pyw (v4.1) all I get is an error message:
"Error in: {book title}.epub[Errno2] No such file or directory: '/Users/{root}/Documents/Digital Editions\\{book title}.epub"
where {book title} = file name
I have tried changing the book name (i.e. file name) as it contains ";" and moved the location of the book to a folder with no spaces in the name but still get the same error message. I would be most appreciative if some one could help me here. This particular book was purchased from eBooks.com
|
Hi Lester, welcome to the forum!
To avoid trouble with file paths and names, here's what I do:
I created a folder in my user root folder (the one that has my user name). I called this folder Tools, of course the name doesn't matter but it's better if it's short
I moved all the files I need in this folder: the python scripts, the adeptkey.der file, and I temorarily also move the ebook files that I want to decrypt to this same folder.
When I start the Terminal, it positions me in my root folder, so I only have to type the following to go to the Tools folder:
Then I type the command line. Since I am already in the folder where everything is, I don't need to type the file path, so it looks like this:
Code:
python ineptepub.py adeptkey.der booknamedrm.epub booknamenodrm.epub
Since I type everything manually, I often shorten the file name of the book too. I have copied the code line to a text file as a reminder, but in fact I almost never re-type it completely: in the Terminal, you can use the up arrow to recall the last few lines you typed and change them. It will even remember them from one session to the next, which is cool.
Hope this helps
Florence