03-01-2009, 10:32 PM | #196 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2009
Device: Kindle2
|
Here is what I got:
Aragorn:bin david$ cd /Users/david/eBooks/Tools Aragorn:Tools david$ ls -l kindlepid.py -rwxr-xr-x@ 1 david staff 1048 Mar 1 20:40 kindlepid.py Aragorn:Tools david$ |
03-01-2009, 10:33 PM | #197 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
BOb |
|
Advert | |
|
03-01-2009, 10:34 PM | #198 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2009
Device: Kindle2
|
Here is what I got:
Aragorn:bin david$ cd /Users/david/eBooks/Tools Aragorn:Tools david$ ls -l kindlepid.py -rwxr-xr-x@ 1 david staff 1048 Mar 1 20:40 kindlepid.py Aragorn:Tools david$ |
03-01-2009, 10:35 PM | #199 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2009
Device: Kindle2
|
#!/usr/bin/python
|
03-01-2009, 10:37 PM | #200 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Ok, I see in your previous message you appear to have done the correct shebang.
Just to be sure, you added a line to the top of the file... so only the shebang is on it? Also, can you type which python And make sure that path is what you used in the shebang? BOb |
Advert | |
|
03-01-2009, 10:41 PM | #201 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2009
Device: Kindle2
|
here is the "which python"
Aragorn:Tools david$ which python /usr/bin/python Aragorn:Tools david$ Here are the first few lines of "kindlepid.py" #!/usr/bin/python import sys, binascii letters = "ABCDEFGHIJKLMNPQRSTUVWXYZ123456789" def crc32(s): return (~binascii.crc32(s,-1))&0xFFFFFFFF Should there be a space between #! & /user/bin/python ????? |
03-01-2009, 10:41 PM | #202 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Biker,
In addition to the above, let's just take a step back... Go into your ~/eBooks/tools folder with cd. Then just type... ./kindlepid.py And see is that works. Basically trying to run it without the link file and path need. If that doesn't work try the brute force method just type... python kindlepid.py BOb |
03-01-2009, 10:44 PM | #203 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2009
Device: Kindle2
|
Both of those seem to work:
Aragorn:Tools david$ which python /usr/bin/python Aragorn:Tools david$ ls kindle2sn.txt kindlefix.py kindlepid.old prc.py kindlefix kindlepid kindlepid.py readme.txt Aragorn:Tools david$ ./kindlepid.py Mobipocket PID calculator for Amazon Kindle. Copyright (c) 2007 Igor Skochinsky <skochinsky@mail.ru> Usage: kindlepid.py <Kindle Serial Number> Aragorn:Tools david$ python kindlepid.py Mobipocket PID calculator for Amazon Kindle. Copyright (c) 2007 Igor Skochinsky <skochinsky@mail.ru> Usage: kindlepid.py <Kindle Serial Number> Aragorn:Tools david$ |
03-01-2009, 10:45 PM | #204 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2009
Device: Kindle2
|
BOb,
Thanks for all your help. I now have the PID for the kindle. cb |
03-01-2009, 10:50 PM | #205 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
Anyway... I guess you have a way to run them now... glad you got the PID. BOb |
|
03-10-2009, 05:52 PM | #206 |
Junior Member
Posts: 6
Karma: 12
Join Date: Oct 2008
Device: Kindle
|
With your directions, I've gotten much farther than I ever have with the python script. However, I get to step 9 and the computer screen says
Usage: kindlepid.py <Kindle Serial Number> C:\> I have been very careful to put in the serial number from the box with the caps for the letters and no spaces. What am I doing wrong? I appreciate any advice you can give me. Healan |
03-10-2009, 06:23 PM | #207 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
BOb |
|
03-10-2009, 06:36 PM | #208 | |
Connoisseur
Posts: 83
Karma: 40
Join Date: Feb 2009
Device: Kindle 2
|
Quote:
Since I've got Vista running as a VM I just moved over to the dark side to get the scripts to work... |
|
03-11-2009, 11:54 AM | #209 |
Junior Member
Posts: 6
Karma: 12
Join Date: Oct 2008
Device: Kindle
|
Thanks, Bob, for your advice. But I do put in my serial number, very carefully, and still get the message.
Here is the whole message C:\kindlepid.py B00................9 Mobipocket PID calculator for Amazon Kindle. Copyright <c> Ignor Skochinsky <skochinsky@mail.ru> Usage: kindle.py <Kindle Serial Number> C:\> I have administrator priviledges and I'm using Vista. I can't see what I'm doing wrong. Again, any more advice appreciated. Healan |
03-11-2009, 12:51 PM | #210 | |
I'm Super Kindle-icious
Posts: 6,734
Karma: 2434103
Join Date: Apr 2008
Location: Long Drive, Calinadia Candafornia
Device: KDXG, KT, Oasis
|
Quote:
Then try running the command again. |
|
Tags |
kindle visual guide, kindlefix, kindlepid, mobi2mobi, mobi2mobi gui |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Beta testers wanted | mtravellerh | PocketBook | 47 | 09-15-2010 04:22 PM |
Beta testers wanted: MobileRead goes Unicode | Alexander Turcic | Announcements | 0 | 08-12-2009 10:28 AM |
Wiki - Visual Kindle Guide. | nohmi2 | Amazon Kindle | 4 | 04-27-2009 06:07 PM |
Palm OS Beta Testers required for NewsRaider | MatYadabyte | Reading and Management | 1 | 09-05-2005 05:40 PM |