Quote:
Originally Posted by pilotbob
What OS are you using? Can you show us the command line you used?
Also, you did put your KindlePID into the BoB bookstore BEFORE you downloaded this file right?
BOb
|
Hi, Fellow Tampa Floridian
Mac OS X 10.4.11
Python 2.4.3
Yes, I did add my Kindle PID on BooksOnBoard before downloading the book.
grey parrot-powerbook-g4-15:~/downloads greyparrot $ /users/greyparrot/ebooktools/kindlefix.py Natural-583.prc <myKindlePID>
/users/greyparrot/ebooktools/kindlefix.py:61: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
if off1==0xFFFFFFFF or off1==0:
The Kindleizer v0.1. Copyright (c) 2007 Igor Skochinsky
Encryption: 2
Mobi publication type: 2
Mobi format version: 4
Traceback (most recent call last):
File "/users/greyparrot/ebooktools/kindlefix.py", line 157, in ?
sys.exit(main(fname, sys.argv[2]))
File "/users/greyparrot/ebooktools/kindlefix.py", line 134, in main
new_rec0 = find_key(rec0, pid)
File "/users/greyparrot/ebooktools/kindlefix.py", line 68, in find_key
temp_key = PC1(keyvec1, pid.ljust(16,'\0'), False)
TypeError: ljust() takes exactly 1 argument (2 given)