Quote:
	
	
		
			
				
					Originally Posted by  lester
					 
				 
				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?