View Single Post
Old 09-11-2010, 07:35 PM   #2692
TonytheBookworm
Addict
TonytheBookworm is on a distinguished road
 
TonytheBookworm's Avatar
 
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
Quote:
Originally Posted by willswords View Post
Awesome! Thanks for your help. This is exactly what I wanted. I really need to learn python so I can understand this better.
You mentioned in the comments that there is a log file... Where does Calibre save that? I poked around but couldn't find one.
I was speaking about the output file that is generated when you test your recipes at the command prompt.

ebook-convert recipename.recipe output_dir --test -vv > myrecipe.txt

for example if your recipe was called billybob.recipe go to the command prompt in windows (cmd) and then find the calibre2 directory which in windows it is generally in c:/program files
then in there type:
ebook-convert billybob.recipe output_dir --test -vv > myrecipe.txt

once the execution finishes then you can open up the myrecipe.txt file in wordpad, notepad, editor whatever and then look for errors or printed text to see if the code is doing what you wish for it to do.

test will take and pull the first 2 articles for you.
TonytheBookworm is offline