04-26-2008, 09:33 PM | #1 |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
The Idiot's Guide to running Igorsk's Python Scripts
This is how I run Igorsk's Python scripts on Windows XP. And yes, this method can be applied to other scripts.
1. Download and install Python. 1a. Do not configure it. Do not set any variables. Do not set any path names. 2. Create a folder to work in, and copy the Python script you want to run to that folder. Then copy the ebooks you want to work on to that folder. 3. In the working folder, make a new text file. (At this point it gets a little complicated.) Assuming you want to run kindlefix.py script, each line of the text file needs to look something like this: kindlefix.py file.mobi YourKindlesPID 3a. You need to have one line for each ebook. make sure that on each line the file.mobi is replaced by the filename of one of the ebooks. Also, do not put the same ebook on two different lines. 3b. On the last line of the file, add the word pause. It needs to be on a line by itself. 4. Rename the text file to something.BAT. The file is now a batch file. This is a remnant of MS-DOS, and basically each line of that file is one set of commands for the DOS command line. 5. Double-click on the file. A DOS window should open, and you should see it working. If it isn't working, please copy the error message here and attach a copy of your batch file. |
01-30-2009, 02:57 PM | #2 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2009
Device: iphone
|
not working on book
thanks for the script worked a few times but not on my latest attempt.
the error message reads indexerror: string index out of range and here is a copy of my batch file. test.bat i removed the PID but it is accurate any help would be appreciated. Thanks |
Advert | |
|
01-30-2009, 02:59 PM | #3 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
|
01-30-2009, 03:07 PM | #4 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2009
Device: iphone
|
Well that did it. Thought I had the latest. thanks v0.05 worked
|
03-30-2009, 04:48 AM | #5 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2009
Device: BeBook
|
I can't really find any information specific to my device (Hanlin V3) but I would think that it would work the same. This guide was the closest thing to idiot-proof that I could find, but it still didn't work.
File "D:\Downloads\DRM Removal Package\mobipocket\mobiDeDRM005.py", line 22 print "Bad key length!" ^ SyntaxError: invalid syntax I used the key generated by ebooks.com for me. Their program was confusing, as to whether I should put in the PID for my computer or my reader. I put it in for my computer, but the damn program won't let me transfer it to my V3. But just in case, I tried both numbers. Same result. In both cases the PID is 10 characters. I'm not really even sure which program to use. I tried them all. I got the same result from every program. I don't know the difference between MobiDeDRM003 and 005. One more thing. The filename I downloaded was a .prc file, not a .mobi file. I don't know if that would make a difference or not. I know you thought your post was idiot-proof; you really didn't expect a whole new breed of idiot, now did you Däch Last edited by archpope; 03-30-2009 at 04:51 AM. |
Advert | |
|
03-30-2009, 02:43 PM | #6 |
Wizard
Posts: 2,999
Karma: 300001
Join Date: Jan 2007
Location: Citrus Heights, California
Device: TWO Kindle 2s, one each Bookeen Cybook Gen3, Sony PRS-500, Axim X51V
|
|
03-30-2009, 02:57 PM | #7 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
The MOBI ebooks are not device specific, except for the PID, so a Hanlin V3 should be ok. Also, you can use the PID from your Windows PC if you like, since mobidedrm removes the DRM anyway. If all you want to do is get the MOBI working on your Hanlin, then there should be no need to strip the DRM. Most sites let you register multiple PIDs (typically up to 4). So register both the Windows and the Hanlin PID, then redownload the ebook. This copy should work "as is" on your Hanlin. |
|
03-30-2009, 07:47 PM | #8 |
Wizard
Posts: 2,999
Karma: 300001
Join Date: Jan 2007
Location: Citrus Heights, California
Device: TWO Kindle 2s, one each Bookeen Cybook Gen3, Sony PRS-500, Axim X51V
|
|
03-31-2009, 12:58 AM | #9 |
Wizard
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
|
05-22-2010, 12:17 PM | #10 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2010
Device: Kindle
|
Windows Version
The new idiot's guide to running Igorsk's scripts:
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Idiot directions for Igorsk's Mobipocket workaround | Devon | Amazon Kindle | 13 | 08-21-2011 01:44 PM |
Igorsk's Mobipocket workaround - does it always work? | TadW | Amazon Kindle | 12 | 05-22-2010 12:17 PM |
Any Page Turner Scripts Out There? | Barney | Kindle Formats | 0 | 09-26-2009 05:36 PM |
GUI Frontend for python scripts [windows] - seeking mod input first | sherman | Workshop | 7 | 04-27-2009 01:04 AM |
Problem running scripts from ContentLister | Fellball | iRex | 1 | 03-13-2009 08:16 PM |