03-01-2009, 09:17 PM | #46 |
Member
Posts: 22
Karma: 20
Join Date: Dec 2008
Location: Mass, USA
Device: CyBook Gen3, iPhone, PRS-505 (Blue)
|
I use the AppleScript with no problems.
Mac OS 10.5.6 Python provided with the system. The error is saying it can't find the python program. The script executes the following command: python MobiDeDRMPath encryptedFilePath unlockedFilePath encryptionKey I believe this assumes that python can be found on the path. Is the path setup correctly? My python is located in /usr/bin Which points to the python provided by Leopard. Macintosh:~ rick$ echo $PATH /sw/bin:/sw/sbin:/Users/rick/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/bin:/usr/X11R6/bin Macintosh:~ rick$ which python /usr/bin/python Macintosh:~ rick$ ls -la /usr/bin/python lrwxr-xr-x 1 root wheel 72 Nov 5 2007 /usr/bin/python -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python Macintosh:~ rick$ Hope this helps... Rick |
03-02-2009, 03:57 AM | #47 | |
The Grand Mouse 高貴的老鼠
Posts: 71,540
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
I recommended ePUB because it is an open and documented, based on XML and HTML, all wrapped as a zip file. It should be readable with standard tools indefinitely.
Microsoft .lit format is also pretty good - internally it's also HTML, and fairly standard HTML at that (more so than Mobipocket). But as with Mobipocket, it's wrapped in a proprietary way, with no documentation on the file format. (All public documentation on .mobi, .lit, etc,., is reverse engineered.) Quote:
|
|
Advert | |
|
03-02-2009, 03:58 AM | #48 |
The Grand Mouse 高貴的老鼠
Posts: 71,540
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
I'd guess you haven't copied the mobidedrm.py script into the resources folder of the Applescript package.
Paul |
03-02-2009, 10:08 AM | #49 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
http://www.mobipocket.com/dev/articl...eFolder=prcgen BOb |
|
03-02-2009, 10:16 AM | #50 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
Last edited by tompe; 03-02-2009 at 11:49 AM. |
|
Advert | |
|
03-02-2009, 10:40 AM | #51 |
Nameless Being
|
|
03-02-2009, 10:49 AM | #52 | |
Nameless Being
|
Quote:
|
|
03-02-2009, 11:41 AM | #53 | |
The Grand Mouse 高貴的老鼠
Posts: 71,540
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Documentation of the peculiarities of MObipocket's HTML, along with documentation of what standard HTML Mobipocket will accept and convert into Mobipocket's particular HTML variant.
If you can find official documentation of the binary format and the various metadata stored in it, I'd be delighted. Something along the lines of the reverse-engineered info in the wiki: https://wiki.mobileread.com/wiki/MOBI Quote:
|
|
03-02-2009, 02:12 PM | #54 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
|
03-11-2009, 09:24 PM | #55 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2009
Device: PRS-505
|
I have a little Problem. Thanks for the Patch.
when i try it i get this error: Code:
Traceback (most recent call last): File "input\booktitle.prc", line 1, in <module> BookTitle NameError: name 'Book_Title' is not defined ******* Got it working ******** I had to use MobiHuff instead of DeDrm Last edited by Nedan; 03-22-2009 at 07:21 PM. |
05-31-2009, 10:44 PM | #56 | |
Member
Posts: 11
Karma: 10
Join Date: May 2009
Device: bebook
|
Quote:
I know it's some time ago, but could you explain to me what you did to fix it? Or anyone else for that matter. I'm having exactly the same problem. Thanks! Sander Last edited by Sanderfox; 06-01-2009 at 08:08 PM. |
|
06-04-2009, 01:21 PM | #57 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
There was an earlier decoding method that actually used MobiPocket's own Java code, which means that it decodes all MOBIs. However, it may now be very hard to find - see Secure Mobipocket Decoder v0.3.
|
06-17-2009, 04:11 PM | #58 |
Member
Posts: 11
Karma: 10
Join Date: May 2009
Device: bebook
|
Thank you for the tip. You were right, that script is now impossible to find anywhere. I also can't find any information on the TEXTREAD format. Is there anyone here that still has the old Secure Mobipocket Decoder files or has some information on the TEXTREAD format?
|
06-17-2009, 05:56 PM | #59 |
Member
Posts: 11
Karma: 10
Join Date: May 2009
Device: bebook
|
I got it! pdbshred did the trick It exports everything to html and bmp files. The only problem is that the bmp files aren't used correctly in the html file. It just says '<img src=BMP" for every image. Can that be changed?
|
06-22-2009, 12:13 PM | #60 | |
Evangelist
Posts: 488
Karma: 258
Join Date: Mar 2009
Device: kindle
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Seriously thoughtful Problems with latest IE8 patch? | HarryT | Lounge | 11 | 12-12-2009 04:34 PM |
help with mobidedrm | bobcdy | Kindle Formats | 5 | 06-29-2009 03:00 PM |
MobiDeDRM | jabberwock_11 | Kindle Formats | 13 | 12-17-2008 05:33 PM |
How to use Mobidedrm | larlissm | Sony Reader | 15 | 10-05-2008 05:15 PM |