View Single Post
Old 01-03-2009, 01:03 PM   #2
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by greyparrot View Post
I'm trying to get Igor's script working. I have followed 'Wiki Visual Kindle Guide' to the letter and have kindlepid working and have my Kindle PID, but I cannot get kindlefix working. I downloaded 'Natural-583.prc' from
booksonboard.com in (OD) format and ran kindlefix but get this message.

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)

What is the problem?
It looks like your command line is the problem. 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
pilotbob is offline   Reply With Quote