|
|
Thread Tools | Search this Thread |
08-02-2008, 03:44 PM | #16 |
Enthusiast
Posts: 49
Karma: 299
Join Date: Oct 2007
Location: South Wales, UK
Device: PRS-505 (Blue)/PRS-505 (Red)/iPhone 3GS
|
The PID for a Windows PC often (always?) has a $ as the 8th character, and I think this is what is causing the problem.
I've got this problem - my PID is from a PC and has a $ as the 8th character. I'm fairly computer literate, but don't know anything about Python and am not sure what changes need to be made to the mobidrdrm program. If I send my PID to someone, could they run it through the calculation script, and tell me what the correct PID actually is? I'm desparate to get the DRM-stripping working, as a book is due to be released very soon which is only available in MOBI (and I've got a Sony Reader!) Thanks, Irene |
08-02-2008, 07:47 PM | #17 | |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
Hope this helps!, -Marshall |
|
Advert | |
|
08-02-2008, 11:21 PM | #18 | |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
Your PC PID is a 10 digit, where the eight digit is a $, put your PID in single quotes and drop of the last two char so if your PID. So if your PID is 1234567$90 change it to '1234567$' (include single quotes). =X= |
|
08-02-2008, 11:30 PM | #19 |
Resident Curmudgeon
Posts: 74,620
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Or create a PID you can use without a $ and add that to your list of PIDs so when you do go to use MobiDeDRM.py, you won't have to worry about a $.
|
08-02-2008, 11:51 PM | #20 |
Guru
Posts: 739
Karma: 1018859
Join Date: Jun 2008
Location: Near Seattle
Device: kindle1, K3, K3G (thanks MR), iTouch, Kindle Touch
|
Have you tried Pdurrants hack to fix a couple of mobidedrm issues?
https://www.mobileread.com/forums/sho...4&postcount=76 |
Advert | |
|
08-03-2008, 10:26 AM | #21 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
If putting the full 10-digit PID in single quotes does not work, then check to see if you have mistyped 1 for I or 0 for O (or I for 1, O for 0).
|
08-03-2008, 04:19 PM | #22 | |
Enthusiast
Posts: 49
Karma: 299
Join Date: Oct 2007
Location: South Wales, UK
Device: PRS-505 (Blue)/PRS-505 (Red)/iPhone 3GS
|
Quote:
Irene |
|
08-03-2008, 04:20 PM | #23 | |
Enthusiast
Posts: 49
Karma: 299
Join Date: Oct 2007
Location: South Wales, UK
Device: PRS-505 (Blue)/PRS-505 (Red)/iPhone 3GS
|
Quote:
|
|
08-03-2008, 04:21 PM | #24 |
Enthusiast
Posts: 49
Karma: 299
Join Date: Oct 2007
Location: South Wales, UK
Device: PRS-505 (Blue)/PRS-505 (Red)/iPhone 3GS
|
|
08-03-2008, 04:22 PM | #25 |
Resident Curmudgeon
Posts: 74,620
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Do you maybe have access to a Windows machine to try this on?
|
08-03-2008, 04:59 PM | #26 |
Enthusiast
Posts: 49
Karma: 299
Join Date: Oct 2007
Location: South Wales, UK
Device: PRS-505 (Blue)/PRS-505 (Red)/iPhone 3GS
|
|
08-04-2008, 07:35 PM | #27 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
One problem with mobidedrm is that it does not do any "sanity checking" of its arguments. This would normally be easy to fix, but modifying mobidedrm.py is not legal in the US. So I attach argecho.py from Dive Into Python. If you have problems with mobidedrm, or any other python script, replace the command with argecho. This is almost the simplest possible python program. All it does is echo its arguments, one per line with the 1st line being the command name. For example:
Code:
C:\Documents and Settings\alan\My Documents\My eBooks\SOFTWARE>argecho test file.prc test file.mobi V176CXM*FZ C:\Documents and Settings\alan\My Documents\My eBooks\SOFTWARE\argecho.py test file.prc test file.mobi V176CXM*FZ Code:
C:\Documents and Settings\alan\My Documents\My eBooks\SOFTWARE>argecho "test file.prc" "test file.mobi" V176CXM*FZ C:\Documents and Settings\alan\My Documents\My eBooks\SOFTWARE\argecho.py test file.prc test file.mobi V176CXM*FZ Last edited by wallcraft; 08-04-2008 at 07:56 PM. |
08-05-2008, 04:38 AM | #28 | |
The Grand Mouse 高貴的老鼠
Posts: 71,637
Karma: 306652114
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Best to use my second set of hacks, which actually fix the problem rather than masking it :-)
https://www.mobileread.com/forums/sho...&postcount=125 Paul Quote:
|
|
08-06-2008, 08:44 AM | #29 |
Enthusiast
Posts: 49
Karma: 299
Join Date: Oct 2007
Location: South Wales, UK
Device: PRS-505 (Blue)/PRS-505 (Red)/iPhone 3GS
|
Thank you to everyone who has chipped in with suggestions for my problem.
Argecho.py confirms that I'm using the correct number of arguments to the Python script, I've updated MobiDeDrm using pdurrant's list of changes. I've even tried reinstalling Python from scratch, in case something got screwed in the initial install .... unfortunately, I just keep getting the "invalid PID" error with both of my PIDs. I can't think of anything else to try, so I think I'm just going to have to write this off as a bad job - it's just incredibly frustrating when other people get the script to work without a problem. My stepson is a Mac addict, so I might try running the script on his machine if he's got Python installed. Thanks again for all your help Irene |
10-07-2008, 05:07 PM | #30 | |
Groupie
Posts: 199
Karma: 818
Join Date: Jul 2008
Location: UK
Device: Sony PRS-505. Pocketbook Inkpad 840
|
Quote:
When I try this, inputting the shortened 8 digit PID, it tells me the correct PID is the 10 digit 'abc123...' - which is exactly what it rejected in the first place! It then gives me 'invalid PID checksum' and does not convert. I'm using v0.4 of MobideDRM and the PID is for a Windows PC running XP. Does anyone have any other ideas, please? Thanks |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"dx" is not a valid search keyword | sushovande | Feedback | 6 | 08-15-2010 09:20 PM |
PRS-600 "Internal content invalid. Formatting" 600 crash (is it dead ?) | zelda_pinwheel | Sony Reader | 93 | 02-18-2010 05:27 PM |
Classic "Invalid Update" | shrktank | Barnes & Noble NOOK | 4 | 02-14-2010 06:58 PM |
Error help: "Invalid input object: NoneType" | MichaelGray | ePub | 1 | 02-14-2010 09:16 AM |
Error message : "Invalid Format" " Do you want to format your internal memory" | narbeauchamp | Sony Reader | 11 | 07-22-2009 12:39 PM |