Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeDRM Macintosh Application does not work #505

Open
iseens opened this issue May 10, 2018 · 12 comments
Open

DeDRM Macintosh Application does not work #505

iseens opened this issue May 10, 2018 · 12 comments

Comments

@iseens
Copy link

iseens commented May 10, 2018

I can't use the "DeDRM.app" for Mac to remove DRM now.

  • I use "DeDRM.app" for Mac in "DeDRM tools 6.6.0".
  • I use macOS High sierra version 10.13.4.
  • I download ebook from "Kindle" for Mac 1.17.1 (KindleForMac-44182.dmg).
  • DeDRM log.txt

Thanks.

@ElleKayEm
Copy link

Are you sure Kindle for Mac hasn't updated to a more recent version? Because I'm wondering if this is in KFX format and whether or not the stand alone app can handle that.

If that's not it, then perhaps the key it's finding is actually from a previous installation of Kindle for Mac.

@j-howell
Copy link

From the log it looks to me like the import of ion.py failed. Unfortunately when that happens it assumes that it must be running as a calibre plugin and attempts to import the same module again, hiding the real cause of the error.

I suspect a missing dependency in the standalone python, perhaps lzma.

@isjamesalive
Copy link

isjamesalive commented May 25, 2018

@j-howell Yeah I think so! I got this working by installing backports.lzma and pycrypto with pip.

Python2.7 on High Sierra doesn't seem to include the site-packages directory where pip installs them so I just patched ion.py:

--- ion.py	2018-05-25 12:50:10.000000000 +0930
+++ ion_fixed.py	2018-05-25 12:50:17.000000000 +0930
@@ -11,6 +11,9 @@
 import os
 import os.path
 import struct
+import sys
+
+sys.path.append('/usr/local/lib/python2.7/site-packages/')

 try:
     from cStringIO import StringIO

@apprenticeharper
Copy link
Owner

I'm hoping that this issue is fixed with 6.6.1, but I haven't been able to check.

@atroia
Copy link

atroia commented Jun 3, 2018

I'm having the same or similar issue running Sierra (10.12.6) I keep getting an alert when I try to run 6.6.1 that says "The application “DeDRM” can’t be opened." 6.5.5 runs fine.

@cdkii
Copy link

cdkii commented Jun 3, 2018

Mac App 6.6.1 won't open on macOS 10.13.5... "The application “DeDRM” can’t be opened"

image

Mac App 6.6 would previously open but wouldn't decrypt files.
Mac App 6.5.5 works fine.

@cdkii
Copy link

cdkii commented Jun 11, 2018

This fixed mine not opening.

chmod +x DeDRM.app/Contents/MacOS/*

You need the folder for the location of the Mac app, so if its in your downloads folder, it would be as follows:

chmod +x /Users/(username)/Downloads/DeDRM_tools_6/DeDRM_Macintosh_Application/DeDRM.app/Contents/MacOS/*

@joseraulgonzalez
Copy link

@cdkii Thanks! That also worked for me.

@apprenticeharper
Copy link
Owner

It seems that copying the files to create the archive wipes out the flag on Windows that zip interprets as executable on Unix systems. If anyone has a fix for this, please patch the copying script.

@JM0604
Copy link

JM0604 commented Nov 15, 2019

I know this is an old thread but my DeDRM 6.6.3 won't open with Mac. I am getting the same error as above. I see someone posted how to fix it but I am not familiar with this. How do you apply that fix to it so that it opens?

@ElleKayEm
Copy link

@JM0604
Copy link

JM0604 commented Nov 15, 2019

thank you! i think I need to use the command thing but I am not familiar with that. I'll try and figure it out! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants