Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 03-01-2009, 09:17 PM   #46
TS-Rick
Member
TS-Rick began at the beginning.
 
TS-Rick's Avatar
 
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
TS-Rick is offline   Reply With Quote
Old 03-02-2009, 03:57 AM   #47
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,501
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:
Originally Posted by avrignaud View Post
Thank you very much for your response!

I think I have one follow-up from your responses: how should I think about the other book formats out there? Ie, why did you recommend ePub - are there certain benefits to it vs. the Microsoft .LIT format, or the Mobi format?
pdurrant is offline   Reply With Quote
Advert
Old 03-02-2009, 03:58 AM   #48
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,501
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

Quote:
Originally Posted by akira28 View Post
I am on a Mac and using python 2.61. Using pdurrant's Applescript I am receiving the following error message:

"sh: line 1: python: command not found"

Any ideas how to get through this?

Thanks.

BTW using the command line results in a "Permission denied".
pdurrant is offline   Reply With Quote
Old 03-02-2009, 10:08 AM   #49
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by pdurrant View Post
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.)
Really? Then what's all this then?

http://www.mobipocket.com/dev/articl...eFolder=prcgen

BOb
pilotbob is offline   Reply With Quote
Old 03-02-2009, 10:16 AM   #50
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by pilotbob View Post
Really? Then what's all this then?

http://www.mobipocket.com/dev/articl...eFolder=prcgen

BOb
Documentation of the thing you feed to MobiPocket Creator or mobigen to create the proprietary format.

Last edited by tompe; 03-02-2009 at 11:49 AM.
tompe is offline   Reply With Quote
Advert
Old 03-02-2009, 10:40 AM   #51
akira28
Nameless Being
 
Quote:
Originally Posted by pdurrant View Post
I'd guess you haven't copied the mobidedrm.py script into the resources folder of the Applescript package.

Paul
Sorry Paul, but you guessed wrong. I'm not too concerned though, but had I got it working it would have been a little easier.
  Reply With Quote
Old 03-02-2009, 10:49 AM   #52
akira28
Nameless Being
 
Quote:
Originally Posted by TS-Rick View Post
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
I don't have any problems envoking the python script from the CLI so yes it's in my $PATH. Strange about the script though.
  Reply With Quote
Old 03-02-2009, 11:41 AM   #53
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,501
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:
Originally Posted by pilotbob View Post
Really? Then what's all this then?

http://www.mobipocket.com/dev/articl...eFolder=prcgen

BOb
pdurrant is offline   Reply With Quote
Old 03-02-2009, 02:12 PM   #54
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by tompe View Post
Documentation of the thing you feed to MobiPocket Creator or mobigen to create the proprietary format.
Ah gotcha.

BOb
pilotbob is offline   Reply With Quote
Old 03-11-2009, 09:24 PM   #55
Nedan
Junior Member
Nedan began at the beginning.
 
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
Other files worked well.

******* Got it working ********
I had to use MobiHuff instead of DeDrm

Last edited by Nedan; 03-22-2009 at 07:21 PM.
Nedan is offline   Reply With Quote
Old 05-31-2009, 10:44 PM   #56
Sanderfox
Member
Sanderfox began at the beginning.
 
Posts: 11
Karma: 10
Join Date: May 2009
Device: bebook
Quote:
Originally Posted by wmaurer View Post
...the file format is "TEXtREAd", but it's also encrypted...
Quote:
Originally Posted by wmaurer View Post
I think this eBook was created using an early version of creator. With kind help, I have been able to strip it using some different dedrm code.
Hi,
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.
Sanderfox is offline   Reply With Quote
Old 06-04-2009, 01:21 PM   #57
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by Sanderfox View Post
could you explain to me what you did to fix it?
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.
wallcraft is offline   Reply With Quote
Old 06-17-2009, 04:11 PM   #58
Sanderfox
Member
Sanderfox began at the beginning.
 
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?
Sanderfox is offline   Reply With Quote
Old 06-17-2009, 05:56 PM   #59
Sanderfox
Member
Sanderfox began at the beginning.
 
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?
Sanderfox is offline   Reply With Quote
Old 06-22-2009, 12:13 PM   #60
kevindorsey
Evangelist
kevindorsey has a complete set of Star Wars action figures.kevindorsey has a complete set of Star Wars action figures.kevindorsey has a complete set of Star Wars action figures.
 
Posts: 488
Karma: 258
Join Date: Mar 2009
Device: kindle
Quote:
Originally Posted by wallcraft View Post
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.
Did it go the dinosaur route?
kevindorsey is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 02:33 AM.


MobileRead.com is a privately owned, operated and funded community.