Thread: Ereader2Html
View Single Post
Old 05-27-2009, 07:59 AM   #47
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
I'm not sure you are using the command correctly. Without saying anything about ereadter2html.py (version 0.03) in particular, in general issuing a python command with no arguments typically brings up a "usage" message with a summary of its arguments. Make sure you have the order of the arguments correct, e.g. file directory name number. Some of these may need to be in quotes, and quotes don't typically hurt. Names tend to have spaces in them, and so definitely need to be in quotes.

A common problem is too many arguments because of a lack of quotes. My argecho.py is a simple way to debug this problem. The post also shows how to enter arguments, and if you can run this command you have Python installed (make sure it is Python 2.6 not 3.).

Since you mentioned er.exe, note that there is another command called ereader2html.pl (Perl script) that might also be available as a Windows binary (ereader2html.exe). So it is possible that you have the wrong script entirely. The usage message is a simple test for this, if it has 4 arguments it isn't the Perl script.
wallcraft is offline   Reply With Quote