Folks:
I'm experiencing the same error message about "unsupported version of kindle for pc" using unswindle.pyw v6-rc1. My current version of K4PC, v1.1.0, is dated 04-May-2010.
The code, obviously, is:
def _get_hexdigest(self):
path = self._exepath
sha1 = hashlib.sha1()
with open(path, 'rb') as f:
data = f.read(4096)
while data:
sha1.update(data)
data = f.read(4096)
hexdigest = sha1.hexdigest()
if not PC1KeyGrabber.supported_version(hexdigest):
raise UnswindleError("Unsupported version of Kindle For PC")
return hexdigest
Regards.......Peter