Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Removing DRM protection from eBooks (http://stream-recorder.com/forum/forumdisplay.php?f=63)
-   -  

error: 'ereader2html.py' is not recognized as an internal or external command...

(http://stream-recorder.com/forum/showthread.php?t=6568)

CCUC 05-05-2010 07:00 PM

error: 'ereader2html.py' is not recognized as an internal or external command...


 
I followed the steps mentioned up to Point 10, where I just couldn't get the terminal input correct and kept getting an error message "ereader2html.py is not recognized as an internal or external command, operable program or batch file".
My input was as follows :
ereader2html.py Bill_America_s_Finest_Compa.pdb outdir "MyName" 1234567812345678

Would you help me please?

Stream Recorder 05-06-2010 02:43 AM

Re: error: 'ereader2html.py' is not recognized as an internal or external command...


 
Quote:

Originally Posted by CCUC (Post 18765)
I followed the steps mentioned up to Point 10, where I just couldn't get the terminal input correct and kept getting an error message "ereader2html.py is not recognized as an internal or external command, operable program or batch file".
My input was as follows :
ereader2html.py Bill_America_s_Finest_Compa.pdb outdir "MyName" 1234567812345678

Would you help me please?

You need to run ereader2html.py from the directory where it is located. Or you need to specify the path to it explicitly. Repeat the steps mentioned above.

CCUC 05-06-2010 10:49 AM

Re: error: 'ereader2html.py' is not recognized as an internal or external command...


 
Quote:

Originally Posted by Stream Recorder (Post 18778)
You need to run ereader2html.py from the directory where it is located. Or you need to specify the path to it explicitly. Repeat the steps mentioned above.

Here are the steps I followed:
1.Install Python.
2.Create a working directory. (eBook)
3.Copy ereader2html.py to the working directory.
4.Copy Bill_America_s_Finest_Compa.pdb file to the ebook directory.
5.Open File Explorer and navigate to the working directory.
6.Right click an item in the list on the left and select "Properties".
7.Highlight the directory information after "Location:". Right click and select "Copy".
8.Open command prompt (in Windows).
9.Type: "cd " (no quotes needed) and right click to paste the directory information you just copied, and hit enter. (cd C:\Documents and Settings\CCUC DOCS\My Documents\BOOKS\Bill Staton\eBook )
10.From command prompt, enter the command as documented:

ereader2html.py Bill_America_s_Finest_Compa.pdb outdir "My Name" 1234567812345678

And then I receive: 'ereader2html.py' is not recognized as an internal or external command, operable program or batch file.

Is something that I am doing wrong?

Stream Recorder 05-06-2010 12:40 PM

Re: error: 'ereader2html.py' is not recognized as an internal or external command...


 
Quote:

Originally Posted by CCUC (Post 18789)
Here are the steps I followed:
1.Install Python.
2.Create a working directory. (eBook)
3.Copy ereader2html.py to the working directory.
4.Copy Bill_America_s_Finest_Compa.pdb file to the ebook directory.
5.Open File Explorer and navigate to the working directory.
6.Right click an item in the list on the left and select "Properties".
7.Highlight the directory information after "Location:". Right click and select "Copy".
8.Open command prompt (in Windows).
9.Type: "cd " (no quotes needed) and right click to paste the directory information you just copied, and hit enter. (cd C:\Documents and Settings\CCUC DOCS\My Documents\BOOKS\Bill Staton\eBook )
10.From command prompt, enter the command as documented:

ereader2html.py Bill_America_s_Finest_Compa.pdb outdir "My Name" 1234567812345678

And then I receive: 'ereader2html.py' is not recognized as an internal or external command, operable program or batch file.

Is something that I am doing wrong?

So Bill_America_s_Finest_Compa.pdb and ereader2html.py are located in the following directory?
Code:

C:\Documents and Settings\CCUC DOCS\My Documents\BOOKS\Bill Staton\eBook
And when you use command prompt, you launch ereader2html.py from the same directory?

CCUC 05-07-2010 09:07 AM

Re: error: 'ereader2html.py' is not recognized as an internal or external command...


 
Quote:

Originally Posted by Stream Recorder (Post 18794)
So Bill_America_s_Finest_Compa.pdb and ereader2html.py are located in the following directory?
Code:

C:\Documents and Settings\CCUC DOCS\My Documents\BOOKS\Bill Staton\eBook
And when you use command prompt, you launch ereader2html.py from the same directory?

What a silly mistake.

I had been working over the directory
C:\Documents and Settings\CCUC DOCS\My Documents\BOOKS\Bill Staton
Instead of
C:\Documents and Settings\CCUC DOCS\My Documents\BOOKS\Bill Staton\eBook

Now that I found my mistake, it is working great!

Thank you so much for your help and patience.

ljdahl 08-15-2010 11:35 PM

Re: error: 'ereader2html.py' is not recognized as an internal or external command...


 
I'm in the same boat. I bought some books from Barnes & Noble (pdb format), am trying to get them onto my ibooks - where I have all the rest of this particular series.

Here are the steps I followed:
1.Install Python.
2.Created a directory for all the python stuff (c:\python26)
3.Copy ereader2html.py to the working directory.
4.Copy Say.pdb file to the python26 directory.
5.Open File Explorer and navigate to the working directory.
6.Right click an item in the list on the left and select "Properties".
7.Highlight the directory information after "Location:". Right click and select "Copy".
8.Open command prompt (in Windows).
9.Type: "cd " (no quotes needed) and right click to paste the directory information you just copied, and hit enter. (cd C: )
10.From command prompt, enter the command as documented:

ereader2html.py say.pdb outdir "My Name" 1234567812345678

And then I receive: 'EREADER2HTML.py' is not recognized as an internal or external command, operable program or batch file.

Is something that I am doing wrong?

I've double checked and my python directory is off the root. I've tried both the C:\ereader.... and C:\python26>ereader.... with the same results.

Thoughts?

Stream Recorder 08-16-2010 12:13 AM

Re: error: 'ereader2html.py' is not recognized as an internal or external command...


 
Quote:

Originally Posted by ljdahl (Post 20897)
ereader2html.py say.pdb outdir "My Name" 1234567812345678

And then I receive: 'EREADER2HTML.py' is not recognized as an internal or external command, operable program or batch file.

Is something that I am doing wrong?

Run it this way:
Code:

python ereader2html.py say.pdb outdir "My Name" 1234567812345678
Read the following page for more
http://docs.python.org/faq/windows

ljdahl 08-16-2010 11:25 AM

Re: error: 'ereader2html.py' is not recognized as an internal or external command...


 
I think I know what the issue is. I downloaded the f7be19a99 file - the one that is supposed to be the ereader2html.py file - but it's a text file when you download it and not a py file.

So - do you know how to change it to a py file or is it just a matter of renaming it?

Much appreciated.
L

Stream Recorder 08-16-2010 08:46 PM

Re: error: 'ereader2html.py' is not recognized as an internal or external command...


 
Quote:

Originally Posted by ljdahl (Post 20911)
I downloaded the f7be19a99 file - the one that is supposed to be the ereader2html.py file - but it's a text file when you download it and not a py file.

So - do you know how to change it to a py file or is it just a matter of renaming it?

Just rename f7be19a99.txt onto ereader2html.py .

ljdahl 08-17-2010 06:52 AM

Re: error: 'ereader2html.py' is not recognized as an internal or external command...


 
I will try that - thank you.
Lydija.


All times are GMT -6. The time now is 03:25 PM.