![]() |
#61 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2009
Device: Sony PRS-600
|
That was exactly the problem and the fix worked wonders. Thanks for much for that.
This whole process for doing this solely on a Mac definitely needs to be streamlined, but at least it does work without needing a Windows machine(real or virtual) at all. |
![]() |
![]() |
![]() |
#62 |
Quilt Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 472
Karma: 91775
Join Date: Aug 2007
Location: Lancaster, PA
Device: Kindle
|
Okay, MrKrueger, you've got to stop posting exactly what I was going to say
![]() Thanks, very much, adullday, the unzipping/rezipping fixed my problem, too. One more thing I can do Windows-free! ETA - To follow-up, I just bought 2 epubs (not available in US Kindle store). One decrypted without intervention, but the second required unzipping/rezipping, then it worked fine. Thanks! Last edited by tlrowley; 10-23-2009 at 05:16 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#63 |
Fanatic
![]() ![]() ![]() ![]() ![]() Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
|
Oh happy days, as the song goes...
|
![]() |
![]() |
![]() |
#64 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 148
Karma: 503
Join Date: Oct 2009
Device: Kindle 2, Nook, iPhone 3GS, iPad
|
De-lurking to say thanks to everyone for a very helpful thread - especially pthwaite for timely assistance with one of the trickier bits of this whole process.
|
![]() |
![]() |
![]() |
#65 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 54
Karma: 558
Join Date: Oct 2009
Device: iPhone 3G 16GB, B&N nook
|
ADEPTKey Generator AppleScript for Mac OS X
OK, I have made an AppleScript script that can generate an ADEPT Key in an adeptkey.der file (or a file by any other name the user chooses) on a Mac OS X platform. You can download this script's .zip file from
link removed This is a script in the form of an application called ADEPTKey_Generator_1.1a. To use it, un-zip the ADEPTKey_Generator_1.1a.app.zip file to retrieve the script app. Then double click on the script app's icon. A standard "Where should I put the ADEPT key output file?" dialog will appear. You can Save As: any file name (default is adeptkey.der) to any folder (default is Desktop). The script then uses "shell script" UNIX code provided by one of the participants in this thread to generate a "private key" that is saved in the ADEPT key output file and then can be used by the ineptepub.py Python script to decrypt downloaded ADE books. ADEPTKey_Generator_1.1a should not be used until the user has (1) created an Adobe account online using a web browser and then (2) authorized that account in Adobe Digital Editions on the Mac. It requires that a ~/Library/Application Support/Adobe/Digital Editions/activation.dat file be present in the user's home folder hierarchy. Activating/authorizing the ADE account causes that file to be created. Also, if more than one user have ADE accounts, the most recent one authorized is the one ADEPTKey_Generator_1.1a will use in generating the ADEPT Key. Edited on 12/4/2009 to refer to ADEPTKey Generator 1.1a, which is now compatible with Mac OS X 10.6 "Snow Leopard." The previous version of this script application, 1.1, generated an error condition in S.L. The reason apparently was that S.L. expects a script app to be not an "application" per se but what was called an "application bundle" by the Mac OS X 10.5 "Leopard" Script Editor. I had saved it as a plain "application." Apparently, if the same source code is saved, in Script Editor under S.L., as an "application," the result is the same as an "application bundle" under Leopard. Under S.L., there is no option to save as an "application bundle" any more. I am running Leopard at this time, not S.L., so I can't actually test that. Last edited by Alexander Turcic; 12-22-2009 at 04:49 AM. Reason: Update to ADEPTKey Generator 1.1a |
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,746
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X
|
Can you also publish the source code?
|
![]() |
![]() |
![]() |
#67 |
curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,487
Karma: 5748190
Join Date: Jun 2006
Location: Redwood City, CA USA
Device: Kobo Aura HD, (ex)nook, (ex)PRS-700, (ex)PRS-500
|
@epstewart:
I find that your script doesn't like output folders that have spaces in their names. Can you fix? Xenophon |
![]() |
![]() |
![]() |
#68 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 54
Karma: 558
Join Date: Oct 2009
Device: iPhone 3G 16GB, B&N nook
|
|
![]() |
![]() |
![]() |
#69 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 54
Karma: 558
Join Date: Oct 2009
Device: iPhone 3G 16GB, B&N nook
|
Quote:
link removed This one lets you have spaces in the folder names in the path to the output file and in the name of the output file as well. It also defaults to putting the output file on your Desktop instead of in the Documents folder, though you can still select any folder location your prefer. Cheers, Eric Last edited by Alexander Turcic; 12-22-2009 at 04:50 AM. |
|
![]() |
![]() |
![]() |
#70 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 343
Karma: 1010002
Join Date: Apr 2008
Location: London. UK
Device: Marvin Reader on iPad Air (via Calibre)
|
I have run the Applescript kindly prepared here and generated a adeptkey.der file.
When I run ineptepub.pyw I get an error along the lines of: File name in directory "OEBPS/robe_978_oeb" and header "OEBPS/xxx.jpg" differ. Is this because the adeptkey is wrong, or a symptom of something else? |
![]() |
![]() |
![]() |
#72 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 343
Karma: 1010002
Join Date: Apr 2008
Location: London. UK
Device: Marvin Reader on iPad Air (via Calibre)
|
Outstanding! Many thanks all of you. The unzip/zip trick worked. I can now read my book in Stanza. Hooray!
|
![]() |
![]() |
![]() |
#73 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 54
Karma: 558
Join Date: Oct 2009
Device: iPhone 3G 16GB, B&N nook
|
|
![]() |
![]() |
![]() |
#74 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
![]() |
![]() |
![]() |
#75 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 54
Karma: 558
Join Date: Oct 2009
Device: iPhone 3G 16GB, B&N nook
|
Quote:
Cheers, Eric |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
If a pdf won't epub, try this (on a Mac) | Paulc15 | Kobo Reader | 6 | 05-09-2010 10:16 PM |
Sony ereader & Mac OSX | brockman | Introduce Yourself | 10 | 07-24-2009 03:37 PM |
How to use iLiad with Mac OsX? | jasem200 | iRex | 6 | 08-17-2008 10:48 AM |
Help with HandStory & Mac OSX! | daught | Reading and Management | 7 | 01-22-2004 12:44 PM |
Mac OSX vs Windows XP | Alexander Turcic | Lounge | 5 | 06-05-2003 01:30 PM |