apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.55k stars 1.52k forks source link

Cannot process file, error -1700 #691

Open rhymes opened 5 years ago

rhymes commented 5 years ago

I just purchased a book and I can't use DeDRM.

The book was purchased on Amazon, downloaded with Kindle For Mac 1.17.1 and I used DeDRM 6.5.5

The only difference with the past is that now I have MacOS Mojave 10.14.1 instead of High Sierra

Once I select the book this popup shows:

screenshot 2018-11-21 at 6 08 22 pm

The whole error in the log is:

An unexpected error occurred. Please report on Apprentice Alf's blog.

Error Message: Can’t make name of file "macOS:Users:rhymes:Downloads:My Kindle Content:B07CT4ZH41_EBOK.azw" of application "Finder" into type text.
Error Number: -1700

I tried with DeDRM 6.6.1 but I can't even open the app:

screenshot 2018-11-21 at 6 15 29 pm

Thanks

ElleKayEm commented 5 years ago

Is it a problem with just that specific book?

As for opening 6.6.1, see if the suggestions here help:

https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md#the-macintosh-application

rhymes commented 5 years ago

Is it a problem with just that specific book?

No, I just tried with other books and I have the same issue.

I noticed that everytime I open the app I get the following screen, like it doesn't "memorize" the option:

screenshot 2018-11-22 at 10 24 34 am

After I press OK, the app opens, then I select the ebook and I get this one:

screenshot 2018-11-22 at 10 24 47 am

then after I press OK I get the one from before:

screenshot 2018-11-22 at 10 24 56 am

It's likely something that has to do with permissions, not with DeDRM's ability to decrypt the file.

I have the same Kindle app and the same DeDRM I had with High Sierra (I restored from a Time Machine backup, so I didn't download the new Kindle app)

As for opening 6.6.1, see if the suggestions here help:

https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md#the-macintosh-application

Ok, I managed to get it working by adding the executable bit to the droplet. I repeated the above steps and still get the same error with DeDRM 6.6.1

Thanks for the assistance

ElleKayEm commented 5 years ago

And Kindle for Mac is set not to auto-update?

rhymes commented 5 years ago

@ElleKayEm nope, this is the version I've used for years:

screenshot 2018-11-23 at 1 37 47 am

ElleKayEm commented 5 years ago

Cool - people have sometimes had an update slip past them.

Here's another suggestion in issue #662.

rhymes commented 5 years ago

@ElleKayEm forgot to answer but that didn't work either

ElleKayEm commented 5 years ago

Someone else with Mojave will have to look at it.

In the meantime, I can only suggest trying calibre and the plugin.

rhymes commented 5 years ago

That works, thank you!

chomiak commented 5 years ago

This isn't related to a particular Mac installation. This just happened to me with El Capitan and hasn't happened to me before on any version including El Capitan. But the solution is simple. Move he file you wish to dedrm, at least if using Kindle for Mac 1.17.0 and DeDrm 6.5.5 to your home directory and from your home directory you can do the dedrm.