12-17-2009, 03:56 PM | #76 |
Member
Posts: 23
Karma: 752
Join Date: Dec 2009
Device: none
|
|
12-17-2009, 05:23 PM | #77 |
Guru
Posts: 688
Karma: 2090
Join Date: Dec 2007
Device: Sony PRS-505, PRS-900 & PRS-950, Amazon Kindle2
|
|
Advert | |
|
12-17-2009, 05:30 PM | #78 |
Leafy greens connoisseur
Posts: 49
Karma: 21271
Join Date: Feb 2009
Device: PRS-505
|
I hate to sound like I'm pushing something here, but seriously: source-visible script with GUI that automatically figures out the appropriate source file and runs mobidedrm for you: Circumventing Kindle For PC DRM . No takers?
|
12-17-2009, 05:31 PM | #79 |
Leafy greens connoisseur
Posts: 49
Karma: 21271
Join Date: Feb 2009
Device: PRS-505
|
If you're using unswindle.pyw, you *don't* need labba's patch. These are mutually incompatible approaches. (I note because you appear from the screenshot to be trying to use both.)
|
12-17-2009, 05:34 PM | #80 |
ZCD BombShel
Posts: 4,793
Karma: 8293322
Join Date: Jan 2009
Location: The Frozen North (aka Illinois, USA)
Device: iPad, STB Kindle Oasis
|
Cabbages, I left a comment for you on your blog, also downloaded and tried the script, but I'm lost at the part where you "put those kids together" (I'm assuming this means the two scripts). I'm also confused about the .pyw extension. Everything else I have has extension .py.
Sorry, I know this is really basic stuff, but... |
Advert | |
|
12-17-2009, 05:36 PM | #81 | |
Enthusiast
Posts: 32
Karma: 97
Join Date: Mar 2006
Device: Palm TX, Ebookwise 1150, Cybook Gen 3
|
Quote:
Traceback (most recent call last): File "C:\Documents and Settings\Owner\My Documents\books\unswindle.pyw", line 631, in gui_main inpath, pid = unswindler.get_book() File "C:\Documents and Settings\Owner\My Documents\books\unswindle.pyw", line 582, in get_book debugger.main_loop() File "C:\Documents and Settings\Owner\My Documents\books\unswindle.pyw", line 470, in main_loop self._handle_bp(addr) File "C:\Documents and Settings\Owner\My Documents\books\unswindle.pyw", line 436, in _handle_bp callback(self, context) File "C:\Documents and Settings\Owner\My Documents\books\unswindle.pyw", line 516, in _get_book_path path = debugger.read_process_memory(addr, 4096) File "C:\Documents and Settings\Owner\My Documents\books\unswindle.pyw", line 385, in read_process_memory raise DebuggerError("could not read memory") DebuggerError: could not read memory Don't know enough about it to know what to do next... Last edited by avid; 12-17-2009 at 05:43 PM. |
|
12-17-2009, 05:41 PM | #82 |
Guru
Posts: 688
Karma: 2090
Join Date: Dec 2007
Device: Sony PRS-505, PRS-900 & PRS-950, Amazon Kindle2
|
Yes, I tried both but not together. I tried yours 1st but can't understand your instructions. when I double clicked on unswindle.pwy, I get the following errors:
Traceback (most recent call last): File "C:\Mobi Books\unswindle.py", line 628, in gui_main unswindler = Unswindler() File "C:\Mobi Books\unswindle.py", line 541, in __init__ self._exepath = self._get_exe_path() File "C:\Mobi Books\unswindle.py", line 556, in _get_exe_path regkey = winreg.OpenKey(system, KINDLE_REG_KEY) WindowsError: [Error 2] The system cannot find the file specified Last edited by Lilly; 12-17-2009 at 05:44 PM. |
12-17-2009, 05:43 PM | #83 | |
Leafy greens connoisseur
Posts: 49
Karma: 21271
Join Date: Feb 2009
Device: PRS-505
|
Quote:
Things with a .py extension run in a console version of the Python interpreter. Things with a .pyw run in a non-console version, which means you don't get an ugly console window showing up for no reason. That's the only difference. |
|
12-17-2009, 05:45 PM | #84 |
Leafy greens connoisseur
Posts: 49
Karma: 21271
Join Date: Feb 2009
Device: PRS-505
|
|
12-17-2009, 05:47 PM | #85 | |
ZCD BombShel
Posts: 4,793
Karma: 8293322
Join Date: Jan 2009
Location: The Frozen North (aka Illinois, USA)
Device: iPad, STB Kindle Oasis
|
Quote:
Traceback (most recent call last): File "C:\Python26\Tools\Scripts\unswindle.pyw", line 630, in gui_main unswindler = Unswindler() File "C:\Python26\Tools\Scripts\unswindle.pyw", line 543, in __init__ self._exepath = self._get_exe_path() File "C:\Python26\Tools\Scripts\unswindle.pyw", line 558, in _get_exe_path regkey = winreg.OpenKey(system, KINDLE_REG_KEY) WindowsError: [Error 2] The system cannot find the file specified |
|
12-17-2009, 05:48 PM | #86 | |
Enthusiast
Posts: 32
Karma: 97
Join Date: Mar 2006
Device: Palm TX, Ebookwise 1150, Cybook Gen 3
|
Quote:
I had two books in K4PC - I think one was a Topaz file - your script could not find a PID. I deleted it and now have a file I am sure is a Mobi file. If I open K4PC first, then run your script, I get the error Failed to determine book path. If K4PC is not running, I get the error I posted above. |
|
12-17-2009, 05:48 PM | #87 | |
Guru
Posts: 713
Karma: 1001739
Join Date: Apr 2005
Location: Nashville, TN
Device: SGS3/PW2/Nexus72
|
Quote:
Traceback (most recent call last): File "D:\Temp\Kindle4pc\unswindle.pyw", line 628, in gui_main unswindler = Unswindler() File "D:\Temp\Kindle4pc\unswindle.pyw", line 541, in __init__ self._exepath = self._get_exe_path() File "D:\Temp\Kindle4pc\unswindle.pyw", line 556, in _get_exe_path regkey = winreg.OpenKey(system, KINDLE_REG_KEY) WindowsError: [Error 2] The system cannot find the file specified |
|
12-17-2009, 05:48 PM | #88 |
Leafy greens connoisseur
Posts: 49
Karma: 21271
Join Date: Feb 2009
Device: PRS-505
|
I misplaced a line which was supposed to catch that error more gracefully, but it looks like you potentially didn't have Kindle For PC installed when you ran the script? Otherwise it means my attempt at handling non-en_US versions of Windows may have failed. Could you try again, after confirming that you have Kindle For PC fully installed, and that .mobi books open in it?
|
12-17-2009, 05:50 PM | #89 | |
Guru
Posts: 713
Karma: 1001739
Join Date: Apr 2005
Location: Nashville, TN
Device: SGS3/PW2/Nexus72
|
Quote:
I do have Win7x64 USA ver WITH kindle4pc already installed edit: Last edited by volwrath; 12-17-2009 at 05:54 PM. |
|
12-17-2009, 06:00 PM | #90 |
ZCD BombShel
Posts: 4,793
Karma: 8293322
Join Date: Jan 2009
Location: The Frozen North (aka Illinois, USA)
Device: iPad, STB Kindle Oasis
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
discovering and loving this fb.2 reader.. | oncdoc | Astak EZReader | 2 | 04-19-2010 06:05 PM |
K4 Mac or PC Where are K4PC files? | lmittell | Amazon Kindle | 3 | 01-06-2010 01:04 AM |
Where is the PID on Pocket Pro, ADE and K4PC? | rxsz | Astak EZReader | 7 | 12-20-2009 05:29 AM |
Free on Kindle - Discovering Dani | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 09-28-2009 09:57 AM |
Kindle PID from Mobi PID - can anyone do it? | delphidb96 | Workshop | 2 | 04-27-2009 04:42 PM |