![]() |
#766 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2010
Device: iPad
|
|
![]() |
![]() |
![]() |
#767 |
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
On a Mac there shouldn't be '\\' in the file name. There is some dubious code in aineptepub.py that can cause the '\\'to appear. Try to use ineptepub (i.e. without the initial 'a') instead.
|
![]() |
![]() |
![]() |
#768 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
That's right, the aineptepub is designed to batch-convert directories, not individual files, so the command line arguments should be pointing to input and output directories. ineptepub is the one that takes input and output files as parameters.
|
![]() |
![]() |
![]() |
#769 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X C
|
The '\\' should only appear if you're in Windows.
|
![]() |
![]() |
![]() |
#770 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
|
Shout not be there in any Unix. Unix places almost no restriction on file-names. Famous thing to do to drive people crazy is placing a carriage return or line feed into filament.
And guess what? On Mac OS the Icon files which contain customized icons for folders have a carriage return at the end of there name. I wonder it that is a typo or someone did this stupidity intentionally. Martin |
![]() |
![]() |
![]() |
#771 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X C
|
Quote:
There is undoubtedly a solution but I just haven't got the nerves to play with state machines and regular expressions right now. Obviously the pressure wasn't big enough to push somebody else into studying it. ![]() |
|
![]() |
![]() |
![]() |
#772 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X C
|
Quote:
for i in $(ls *epub); do python ineptepub.py adeptkey.der $i ${i}encryped.epub; done |
|
![]() |
![]() |
![]() |
#773 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2010
Device: iPad
|
I tried your advice regarding ineptepub but it came back with the same error message. Is there a possibility there is something wrong with the compression?
|
![]() |
![]() |
![]() |
#774 |
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
Hello Lester. That is very strange. Which version of ineptepub do you use? How are you calling ineptepub, from the command line or by double-clicking? If command line, what are the exact parameters you give? If using GUI, do you browse to the file, or enter the filename manually? If the latter, what exactly do you type? Which line number does the error message give, or preferably what is the traceback that it prints?
|
![]() |
![]() |
![]() |
#775 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2010
Device: iPad
|
Quote:
"Traceback (most recent call last): File "ineptepub_v3.pyw", line 362, in <module> sys.exit(cli_main()) File "ineptepub_v3.pyw", line 223, in cli_main data = inf.read(path) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 834, in read return self.open(name, "r", pwd).read() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 874, in open zinfo.orig_filename, fname) zipfile.BadZipfile: File name in directory "OEBPS/Lars_9780307593672_epub" and header "OEBPS/Lars_9780307593672_epub_epl_r1.htm" differ. I really appreciate your help in this. |
|
![]() |
![]() |
![]() |
#776 | |
High Priestess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,761
Karma: 5042529
Join Date: Jul 2008
Location: Montreuil sous bois, France
Device: iPad Pro 9.7, iPhone 6 Plus
|
Quote:
|
|
![]() |
![]() |
![]() |
#777 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X C
|
Quote:
Perhaps the ADE is limiting the filenames so they aren't recognizing a wrong file name or it has some error correcting code. At the first glimpse it seems that the filenames in the file Lars_9780307593672_epub_epl_r1.htm aren't the same as in OEBPS/Lars_9780307593672_epub How about open the epub with WinRAR or Winzip, print both out and compare the file names (make a backup before). |
|
![]() |
![]() |
![]() |
#778 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 12028
Join Date: Feb 2010
Device: Kobo Glo
|
Does this problem seem familiar to anyone?
I'm trying to decrypt an ADE file (bought from Waterstone's) using ineptkey and ineptepub. I got the key fine with the 4.3 version of ineptkey, but I get an error that says Quote:
I'm guessing chapter 23 must be encrypted in some way, but I have no idea where to start... I'm running Windows XP SP3, with ADE 1.7.2. Thanks in advance! Last edited by aliettedb; 06-08-2010 at 04:56 PM. |
|
![]() |
![]() |
![]() |
#779 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X C
|
Quote:
|
|
![]() |
![]() |
![]() |
#780 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
Then zip it again and see if it can be decrypted. I may not have the details right, what you want is the "__" file (which is presumably the encrypted chapter) to have the same filename and location as listed in the .opt file. Note that "/" separates folders and is equivalent to "\" under Windows. |
|
![]() |
![]() |
![]() |
Tags |
adept, adobe epub drm, ainept, drm, drm removal, drm-free epub, inept |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adobe ADEPT DRM for PDF circumvented | i♥cabbages | 832 | 01-23-2013 12:23 AM | |
Fileopen DRM for PDF circumvented | tetrachroma | 26 | 02-09-2012 07:15 AM | |
Barnes & Noble DRM for EPUB circumvented | i♥cabbages | ePub | 83 | 01-30-2011 02:55 PM |
iPhone adept drm for epub on the iphone | philippd | Apple Devices | 24 | 12-28-2009 02:29 PM |
Adobe ePub DRM cracked? | Alexander Turcic | News | 144 | 02-28-2009 10:54 AM |