View Single Post
Old 01-18-2012, 09:00 AM   #271
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,707
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by whoqwerty
Hello I am getting an error on line 886 in <module> sys.exit<main<>> and
line 886 main, in main, infile, outdir = argv[1:]
value errr"too many values to unpack"
I saw in another thread that you may be trying to unpack a print replica book (azw4). Is that the file that's generating this error? I don't know for sure, but we may have temporarily broken the azw4 support in this script with the latest version. Give the previous version a try if you just want to retrieve a PDF from an azw4 file. That version can be found in post #5 in this thread.

EDIT: Nope. I was wrong. The latest experimental version should work for Print Replica books. Just make sure you have the command line right:
Code:
python mobi_unpack.py filename.azw4 output/
"output" being the name of the folder where you want mobi_unpack to dump all its output.

Last edited by DiapDealer; 01-18-2012 at 09:20 AM.
DiapDealer is online now   Reply With Quote