View Single Post
  #17  
Old 08-02-2010, 11:16 PM
Stream Recorder
 
Posts: n/a
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


Quote:
Originally Posted by Trester View Post
I've spent a lot of time on this, and I still can't get it to work. I've downloaded/saved v.0.13 to a py file. In the CMD window I type:

MobideDRM.py blood.prc blood2.prc R7X46LB$DV

and get the following error message:
File "C:\Python31\MobideDRM.py", line 57
print "bad key length!"

Line 56 says: if len(key)!=16: (if fail goto 57)
Try to take the last two digits off the PID, cutting it from 10 symbols to 8.

Quote:
Originally Posted by Trester View Post
I have also tried using single quotation marks on the PID, with no success.
It is a good idea to make sure your filenames doesn't contain spaces.

Instead of
Code:
MobideDRM.py file name with spaces.prc file name with spaces2.prc PID
use
Code:
MobideDRM.py "file name with spaces.prc" "file name with spaces2.prc" PID
or rename your files and use
Code:
MobideDRM.py file_name_with_spaces.prc file_name_with_spaces2.prc PID
Reply With Quote