View Single Post
Old 06-05-2010, 05:50 AM   #765
FlorenceArt
High Priestess
FlorenceArt ought to be getting tired of karma fortunes by now.FlorenceArt ought to be getting tired of karma fortunes by now.FlorenceArt ought to be getting tired of karma fortunes by now.FlorenceArt ought to be getting tired of karma fortunes by now.FlorenceArt ought to be getting tired of karma fortunes by now.FlorenceArt ought to be getting tired of karma fortunes by now.FlorenceArt ought to be getting tired of karma fortunes by now.FlorenceArt ought to be getting tired of karma fortunes by now.FlorenceArt ought to be getting tired of karma fortunes by now.FlorenceArt ought to be getting tired of karma fortunes by now.FlorenceArt ought to be getting tired of karma fortunes by now.
 
FlorenceArt's Avatar
 
Posts: 5,761
Karma: 5042529
Join Date: Jul 2008
Location: Montreuil sous bois, France
Device: iPad Pro 9.7, iPhone 6 Plus
Quote:
Originally Posted by lester View Post
Thanks Florence,
I tried your suggestion and was excited when I saw that there was some kind of output but when I tried to open it (in any reader) it seems to be corrupted. The output from the Terminal was:

~$ python aineptepub.py adeptkey.der bookdrm.epub booknodrm.epub
Traceback (most recent call last):
File "aineptepub.py", line 372, in <module>
sys.exit(cli_main())
File "aineptepub.py", line 229, 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.

Any thoughts?
Looks like there may be a problem with your epub file, but I have no idea what that can be. Can you open the original file with ADE?
FlorenceArt is offline   Reply With Quote