View Full Version : PRC Files suddenly have Invalid Kindle PID


Boston
10-12-2008, 12:28 PM
Just tried checking out books from the public library. The PID and Igors scripts have worked fine in the past but as of today kindlefix is telling me the PID is in the wrong format. I checked my library account and the PID looks fine (asterisk and all). I tried downloading two different books and both have the same message (as I said, its worked fine in the past).

Is it possible that they are stripping the asterisk behind the scenes or doing something so it won't create a Kindle PID properly?

Boston
10-12-2008, 12:48 PM
Oddly enough, I just downloaded mobidedrm and it works when I specifiy my PID...so it seems the PID in the download is correct but Igors scripts don't think so?? :blink:

desertgrandma
10-12-2008, 01:02 PM
When I run kindlefix I now get this message......

traceback (most recent call last)

File "C:\Python25\Tools\Scripts\kindlefix.py", line 1 in <module> import prc, sys. struct
Import Error no module named prc

any thoughts? Thanks........

Boston
10-12-2008, 04:55 PM
When I run kindlefix I now get this message......

traceback (most recent call last)

File "C:\Python25\Tools\Scripts\kindlefix.py", line 1 in <module> import prc, sys. struct
Import Error no module named prc

any thoughts? Thanks........

Make sure you have the prc.py scripts in the Scripts directory as well.

Still stumped as to why igor's kindlefix script (which worked fine before) suddenly thinks I have a bad PID but mobidedrm can find it fine :smack:

desertgrandma
10-12-2008, 05:23 PM
Make sure you have the prc.py scripts in the Scripts directory as well.

Still stumped as to why igor's kindlefix script (which worked fine before) suddenly thinks I have a bad PID but mobidedrm can find it fine :smack:

I can't help yo with Igor's script, but maybe if you PM'd him?

And as for the prc.py script......

where do I go to make sure its there? would it be under the environmental tab, under pathex?

Just tell me where to go.........(please be kind)......:D

pilotbob
10-12-2008, 05:25 PM
And as for the prc.py script......where do I go to make sure its there? would it be under the environmental tab, under pathex?

Just tell me where to go.........(please be kind)......:D

The prc.py script should be in the same folder as the kindlefix.py script.... or in your path. This would allow python to find it.

BOb

desertgrandma
10-12-2008, 05:45 PM
all right then. Went to 'downloads' file, opened Kindlefix file and this is what it showed.......

Kindlepid python file 2kb

prc python file 14 kb

Is that what it should say?

pilotbob
10-12-2008, 05:55 PM
all right then. Went to 'downloads' file, opened Kindlefix file and this is what it showed.......

Kindlepid python file 2kb

prc python file 14 kb

Is that what it should say?

Sounds right. What is the current directory when you run the program? Is the folder that your files are in in the path.

BOb

Boston
10-12-2008, 06:20 PM
all right then. Went to 'downloads' file, opened Kindlefix file and this is what it showed.......

Kindlepid python file 2kb

prc python file 14 kb

Is that what it should say?

According to your earlier post, you are running Kindlefix out of c:\Python25\Tools\Scripts. You need to copy the Prc.Py file into the same directory (as Kindlefix). The file you are converting should also reside there.

desertgrandma
10-12-2008, 06:32 PM
Sounds like Boston and pilotbob are saying basically the same thing.

Wish I knew what it was.

when I run mobi2mobi, THAT file is in the same folder I have my 'to change' books in, on my desktop.

Thats not what you mean here, is it?

I know this should be such a simple fix. Its just understanding the language you speak. Not english, computer-eze.

Boston
10-12-2008, 07:42 PM
Do you have Windows XP?

From Windows, select Start-->Run
In the "Open" box, type: Command
Press: OK

This will open up a Dos command screen
Type: cd\
Press: <Enter>
Type: cd\Python25\Tools\Scripts (based on your message, I assume this is where you have the kindlefix script)
Press: <Enter>
Type: dir
Press: <Enter>

Do you see all of the following listed:
kindlefix.py
Kindlepid.py
prc.py
and the file you are trying to convert (ending with .prc)?

If not, you try moving all of these files into that folder and you can run your scripts from there. (To close the command windows, type: Exit and press <enter>

pilotbob
10-12-2008, 09:50 PM
Sounds like Boston and pilotbob are saying basically the same thing.

Wish I knew what it was.

If you have some time tomorrow I can webex into your PC and check out what you are doing. PM me if you want to do that to set up a time. BTW: "webex" if you don't know is software that is used for one person to see and be able to control another persons PC via remote control.

BOb

desertgrandma
10-13-2008, 01:03 AM
Do you have Windows XP?

From Windows, select Start-->Run
In the "Open" box, type: Command
Press: OK

This will open up a Dos command screen
Type: cd\
Press: <Enter>
Type: cd\Python25\Tools\Scripts (based on your message, I assume this is where you have the kindlefix script)
Press: <Enter>
Type: dir
Press: <Enter>

Do you see all of the following listed:
kindlefix.py
Kindlepid.py
prc.py
and the file you are trying to convert (ending with .prc)?

If not, you try moving all of these files into that folder and you can run your scripts from there. (To close the command windows, type: Exit and press <enter>

So, I uninstalled and re-installed and now they are all there.......command line works EXCEPT its not recognizing my PID either. Says it should be all letters ('cept for star), but mine has a number as 5th character....have pm'd Igor.....hopefully both our problems will be solved!

pilotbob
10-13-2008, 10:26 AM
So, I uninstalled and re-installed and now they are all there.......command line works EXCEPT its not recognizing my PID either. Says it should be all letters ('cept for star), but mine has a number as 5th character....have pm'd Igor.....hopefully both our problems will be solved!

What says the PID should be all letters? I've never heard that. My kindle pid has a numeral in the second position.

Are you sure you have the correct PID? What I do is cut and past my Kindles S/N from the amazon web site so I don't have to worry about typos.

BOb

desertgrandma
10-13-2008, 10:33 AM
What says the PID should be all letters? I've never heard that. My kindle pid has a numeral in the second position.

Are you sure you have the correct PID? What I do is cut and past my Kindles S/N from the amazon web site so I don't have to worry about typos.

BOb

riiight......since the command said it should AAAAAAA*DD

I took it to mean all letters, numbers. Guess that isn't the problem. And I did double check the serial number even with a magnifiying glass. The only thing I"m not completely sure about are the first two 'zeros'....I"m sure they aren't "o"s..........and of course there is nothing to compare them to.. They are elongated....so used them as 'zeros'....going to Amazon now.

pilotbob
10-13-2008, 11:49 AM
riiight......since the command said it should AAAAAAA*DD

I took it to mean all letters, numbers.

Nope.... I think it's just an example of what the PID looks like. My last two characters are both letters not digits.

BOb

Leep
10-13-2008, 02:06 PM
Just tried checking out books from the public library. The PID and Igors scripts have worked fine in the past but as of today kindlefix is telling me the PID is in the wrong format. I checked my library account and the PID looks fine (asterisk and all). I tried downloading two different books and both have the same message (as I said, its worked fine in the past).

Is it possible that they are stripping the asterisk behind the scenes or doing something so it won't create a Kindle PID properly?
Maybe you're making the same error that I made after using mobi2mobi and mobidedrm which both require a second book name. Kindlefix only requires the source book name and the PID. i.e. Kindlefix Scarletletter.prc XXXXXXX*XX

desertgrandma
10-13-2008, 04:29 PM
What says the PID should be all letters? I've never heard that. My kindle pid has a numeral in the second position.

Are you sure you have the correct PID? What I do is cut and past my Kindles S/N from the amazon web site so I don't have to worry about typos.

BOb

I just got an answer from Amazon....so for anyone else out there who ever wonders if they have a "0" or "o", here it is.......
Thank you for writing about your serial number.

There are no letter "o"'s in the kindle serial number. if you are having issues registering your account you can call us a 1-866-321-8851.


That clears that up, and now I am 100% certain I have the correct PID...........

Boston
10-13-2008, 04:33 PM
Maybe you're making the same error that I made after using mobi2mobi and mobidedrm which both require a second book name. Kindlefix only requires the source book name and the PID. i.e. Kindlefix Scarletletter.prc XXXXXXX*XX

Ahhh...that may be it :2thumbsup:...probably me getting the syntax alll confused between the scripts.

This may solve desertgrandmas latest issue too if she has been reading my posts too carefully :smack:

desertgrandma
10-13-2008, 04:42 PM
Ahhh...that may be it :2thumbsup:...probably me getting the syntax alll confused between the scripts.

This may solve desertgrandmas latest issue too if she has been reading my posts too carefully :smack:

All I've done is learn from reading everyones posts.
Let us know if that works for you. I've just got back to the laptop and am starting to play again. Isn't this fun? :2thumbsup

pilotbob
10-13-2008, 05:10 PM
All I've done is learn from reading everyones posts.
Let us know if that works for you. I've just got back to the laptop and am starting to play again. Isn't this fun? :2thumbsup

If you want I can still webex in and see what you are doing. Perhaps i could figure it out. PErhaps not.

BOb

Boston
10-13-2008, 05:23 PM
All I've done is learn from reading everyones posts.
Let us know if that works for you. I've just got back to the laptop and am starting to play again. Isn't this fun? :2thumbsup

Yep..that was it...thank you Leep!!

I'm soooo stoopid :smack:

(If you are still having problems, I'd take pilotbob up on his very generous offer to webex...he only accesses your PC for the session with your permission and you can see everything he is doing).

Leep
10-13-2008, 05:47 PM
Don't think anything of it, I hadn't used Kindlefix for a while so I gave Desert Grandma an incorrect command line and have had her running in circles. At least with all of us working on it, we have it figured out. A very great thing about this forum.

cheers

JSWolf
10-21-2008, 11:57 AM
If you do have Mobidedrm.py 0.01 & 0.02 or just the 0.04 version, then just put in the computer's PID, strip the DRM after purchase and be done with it. Case closed.