View Single Post
Old 12-18-2009, 03:38 PM   #104
Lilly
Guru
Lilly knows what time it isLilly knows what time it isLilly knows what time it isLilly knows what time it isLilly knows what time it isLilly knows what time it isLilly knows what time it isLilly knows what time it isLilly knows what time it isLilly knows what time it isLilly knows what time it is
 
Lilly's Avatar
 
Posts: 688
Karma: 2090
Join Date: Dec 2007
Device: Sony PRS-505, PRS-900 & PRS-950, Amazon Kindle2
Quote:
Originally Posted by i♥cabbages View Post
It appears that the original version of my script just plain did not work on any version of Windows other than XP. A new release (version 2) linked to from the same blog post has been tested as working on Windows 7 and Vista both 32-bit and 64-bit. I apologize for not testing this more before releasing it, and thanks much to volwrath for helping with testing. Enjoy!
It works for me! Kindle For PC should be close because the script needs to open it. Sometimes I get the below errors, but I then close everything and open Kindle For PC and run unswindle and get the book path error. For some reason it resets it and I can now unswindle my books. I've already done 6 to make sure. This is so simple! Vista Home Premium, 32 bit, SP2! Did I forget to mention that i♥cabbages!

Traceback (most recent call last):
File "C:\Mobi Books\Unswindle\unswindle.py", line 752, in gui_main
inpath, pid = unswindler.get_book()
File "C:\Mobi Books\Unswindle\unswindle.py", line 703, in get_book
debugger.main_loop()
File "C:\Mobi Books\Unswindle\unswindle.py", line 562, in main_loop
self._handle_bp(addr)
File "C:\Mobi Books\Unswindle\unswindle.py", line 493, in _handle_bp
callback(self, context)
File "C:\Mobi Books\Unswindle\unswindle.py", line 627, in _get_book_path
path = debugger.read_process_memory(addr, 4096)
File "C:\Mobi Books\Unswindle\unswindle.py", line 436, in read_process_memory
raise DebuggerError("could not read memory @ 0x%08x" % (addr,))
TypeError: %x format: a number is required, not c_void_p

Last edited by Lilly; 12-18-2009 at 04:20 PM.
Lilly is offline   Reply With Quote