Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 12-11-2008, 08:21 PM   #136
TriniGirL
Junior Member
TriniGirL began at the beginning.
 
TriniGirL's Avatar
 
Posts: 9
Karma: 10
Join Date: Dec 2008
Location: On the flat Hill
Device: Mobipocket
Quote:
Originally Posted by JSWolf View Post
Do you have Python installed from http://www.python.org? If you do and you are in the command prompt and you see mobidedrm2.py, then all you need do is type mobidedrm2.py to see the usage template.

Also, if you have extensions turnes off, it's possible that the filename you really have could be mobidedrm.py.txt. If that is the case, turn them on. Go to Windows Explorer and then Tools | Folder Options | View and then uncheck Hide Extensions for known filetypes and finally click apply to all folders. I am not sure if this options applies to the command prompt or not.
I did this the files are py files. Command Prompt still won't open mobidedrm2.py

Nothing seems to work.
TriniGirL is offline  
Old 12-11-2008, 10:09 PM   #137
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by TriniGirL View Post
I did this the files are py files. Command Prompt still won't open mobidedrm2.py
I'm not sure what you mean by this. Nothing will "open". You run the command and you will get a response right in the command line... for example... at your cmd prompt which should look something like this:

c:\YourFolderName>

Type

mobideddrm2.py

and press return

You will get a response. Paste that response here.

BOb
pilotbob is offline  
Advert
Old 12-11-2008, 11:29 PM   #138
TriniGirL
Junior Member
TriniGirL began at the beginning.
 
TriniGirL's Avatar
 
Posts: 9
Karma: 10
Join Date: Dec 2008
Location: On the flat Hill
Device: Mobipocket
Quote:
Originally Posted by pilotbob View Post
I'm not sure what you mean by this. Nothing will "open". You run the command and you will get a response right in the command line... for example... at your cmd prompt which should look something like this:

c:\YourFolderName>

Type

mobideddrm2.py

and press return

You will get a response. Paste that response here.

BOb
Ok Let me tell you from scratch

I put mobidedrm2.py in my Python26- (scripts) folder, i also put it into
(My Ebooks) folder

I click start- command prompt typed C:\Users\Denise\Documents\My eBooks>mobidedrm2.py
i hit enter and this line showed up
C:\Users\Denise\Documents\My ebooks>
everytime i type mobidedrm2.py it goes straight back to the line ending with My ebooks>
TriniGirL is offline  
Old 12-12-2008, 12:16 AM   #139
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by TriniGirL View Post
Ok Let me tell you from scratch

I put mobidedrm2.py in my Python26- (scripts) folder, i also put it into
(My Ebooks) folder

I click start- command prompt typed C:\Users\Denise\Documents\My eBooks>mobidedrm2.py
i hit enter and this line showed up
C:\Users\Denise\Documents\My ebooks>
everytime i type mobidedrm2.py it goes straight back to the line ending with My ebooks>
That is expected... after the command runs it will always bring you back to the command prompt.

But there is absolutely no text displayed between where you typed the command and the next command prompt? (Or a print screen of it?)

Can you past the contents of your command windows here?

BOb
pilotbob is offline  
Old 12-12-2008, 05:42 PM   #140
TriniGirL
Junior Member
TriniGirL began at the beginning.
 
TriniGirL's Avatar
 
Posts: 9
Karma: 10
Join Date: Dec 2008
Location: On the flat Hill
Device: Mobipocket
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Denise>cd documetns
The system cannot find the path specified.

C:\Users\Denise>cd documents

C:\Users\Denise\Documents>cd my ebooks

C:\Users\Denise\Documents\My eBooks>mobidedrm2.py

C:\Users\Denise\Documents\My eBooks>
TriniGirL is offline  
Advert
Old 12-12-2008, 05:44 PM   #141
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by TriniGirL View Post
C:\Users\Denise\Documents\My eBooks>mobidedrm2.py

C:\Users\Denise\Documents\My eBooks>
Ok, that's just weird.

At that prompt try this command:

python mobidedrm2.py


and paste in the results.

BOb

(You did INSTALL python26 right? Not just create a python\tools\scripts folder?)
pilotbob is offline  
Old 12-12-2008, 06:12 PM   #142
TriniGirL
Junior Member
TriniGirL began at the beginning.
 
TriniGirL's Avatar
 
Posts: 9
Karma: 10
Join Date: Dec 2008
Location: On the flat Hill
Device: Mobipocket
Quote:
Originally Posted by pilotbob View Post
Ok, that's just weird.

At that prompt try this command:

python mobidedrm2.py


and paste in the results.

BOb

(You did INSTALL python26 right? Not just create a python\tools\scripts folder?)
Ok here it is:


Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Denise>cd documents\my ebooks

C:\Users\Denise\Documents\My eBooks>python26 mobidedrm2.py
MobiDeDrm v0.02. Copyright (c) 2008 The Dark Reverser
Removes protection from Mobipocket books
Usage:
mobidedrm infile.mobi outfile.mobi PID

C:\Users\Denise\Documents\My eBooks>
TriniGirL is offline  
Old 12-12-2008, 06:28 PM   #143
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by TriniGirL View Post
C:\Users\Denise\Documents\My eBooks>python26 mobidedrm2.py
MobiDeDrm v0.02. Copyright (c) 2008 The Dark Reverser
Removes protection from Mobipocket books
Usage:
mobidedrm infile.mobi outfile.mobi PID

C:\Users\Denise\Documents\My eBooks>
Ok... there you go. Now it's working. For some reason the .py extension doesn't seemed to be registered on your PC.

So, now run this:

python26 mobidedrm2.py MyBook.prc Mybook_clean.prc PID

Replacing names accordingly. If your book name has spaces in it make sure to put them in quotes, like this:

python26 mobidedrm2.py "My Book.prc" "My book_clean.prc" PID

BOb

Last edited by pilotbob; 12-12-2008 at 06:33 PM.
pilotbob is offline  
Old 12-12-2008, 06:30 PM   #144
TriniGirL
Junior Member
TriniGirL began at the beginning.
 
TriniGirL's Avatar
 
Posts: 9
Karma: 10
Join Date: Dec 2008
Location: On the flat Hill
Device: Mobipocket
Decrypting. Please wait... Done

OMG. It worked pilotbob i could kiss u. muah
Thank you very much.
TriniGirL is offline  
Old 12-12-2008, 06:33 PM   #145
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by TriniGirL View Post
OMG. It worked pilotbob i could kiss u. muah
Thank you very much.


BOb
pilotbob is offline  
Old 12-12-2008, 06:35 PM   #146
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by TriniGirL View Post
Decrypting. Please wait... Done

OMG. It worked pilotbob i could kiss u. muah
Thank you very much.
Ok... I can tell you how to associate .py to python to if you want... so you won't have to put python26 at the beginning of the line.

BOb
pilotbob is offline  
Old 12-12-2008, 06:36 PM   #147
TriniGirL
Junior Member
TriniGirL began at the beginning.
 
TriniGirL's Avatar
 
Posts: 9
Karma: 10
Join Date: Dec 2008
Location: On the flat Hill
Device: Mobipocket
Ok bring it on
TriniGirL is offline  
Old 12-12-2008, 10:12 PM   #148
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by TriniGirL View Post
Ok bring it on
OK....

In Windows Explorer navigate to your eBook folder where you have the .py script. Double click on it.

You will get a dialog that says something like "Windows Can't Open This File". What do you want to do.

Choose "Select program from list" and click ok.

See if python is on the list... but it probably won't be. But if it is you can select it and click ok.

But it probably isn't. So, click the browse... button. Navigate to your python26 folder and select python.exe (the exe may be hidden on your machine.) Click open. CLick "Python File" in the description. Then make sure that the "Always use the select program to open this king of file" check box is checked. And press ok.

That should associate .py files with python. The file should now show as type "Python File" in explorer now.

I don't know why this didn't happen when you installed python... but it should of. You did download the windows installer and run it, right?

BOb
pilotbob is offline  
Old 12-12-2008, 11:21 PM   #149
TriniGirL
Junior Member
TriniGirL began at the beginning.
 
TriniGirL's Avatar
 
Posts: 9
Karma: 10
Join Date: Dec 2008
Location: On the flat Hill
Device: Mobipocket
Quote:
Originally Posted by pilotbob View Post
OK....

In Windows Explorer navigate to your eBook folder where you have the .py script. Double click on it.

You will get a dialog that says something like "Windows Can't Open This File". What do you want to do.

Choose "Select program from list" and click ok.

See if python is on the list... but it probably won't be. But if it is you can select it and click ok.

But it probably isn't. So, click the browse... button. Navigate to your python26 folder and select python.exe (the exe may be hidden on your machine.) Click open. CLick "Python File" in the description. Then make sure that the "Always use the select program to open this king of file" check box is checked. And press ok.

That should associate .py files with python. The file should now show as type "Python File" in explorer now.

I don't know why this didn't happen when you installed python... but it should of. You did download the windows installer and run it, right?

BOb
I double clicked on the file and nothing happened, so i right click and is says
Type of file: PY File (py)
Opens with: pythonw26.exe
TriniGirL is offline  
Old 12-13-2008, 02:13 PM   #150
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by TriniGirL View Post
I double clicked on the file and nothing happened, so i right click and is says
Type of file: PY File (py)
Opens with: pythonw26.exe
I'm stumped. Sounds like there is an association. Try to repair you python install in the Add/Remove programs control panel. If that doesn't work I'm fresh out of ideas.

BOb
pilotbob is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware Update I have the US 2.5 bin but can't make it work! Please help leodavilgen Amazon Kindle 14 05-15-2010 08:02 PM
A script to make iLiad show mobi metadata. Format C: iRex 4 09-23-2008 10:45 AM
Could you make a script for changing button shortcut for me? harpum iRex 42 07-13-2008 02:00 AM
How can I make a automated script to put a converted lrf to reader?(Sync problem) harpum Sony Reader 4 07-17-2007 12:38 PM
Avantgo: Can't Make It Work! Sculptedstylus Reading and Management 2 02-24-2006 01:11 PM


All times are GMT -4. The time now is 12:34 PM.


MobileRead.com is a privately owned, operated and funded community.