View Single Post
Old 06-19-2011, 09:45 AM   #9
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by scissors View Post
Also is it possible to echo a string to screen so you can test what's going on?

I'm baffled now - any help
Some tips:
1) Use CODE tags when posting here (the hash). They are needed to be sure you are using correct indents. (Are you?)
2) Post the complete recipe so we can test it.
3) Use SPOILER tags here to make the thread easier to read (the X-ed eye).
4) In your recipe, insert print statements. They will print to the log
Code:
    #define variable here
    print 'The variable is: ', variable
5) Even better run:
Code:
ebook-convert test.recipe test_1  --test -vv> Test.txt
to echo to Test.txt
I suspect you haven't got def print_version(self, url): correctly indented so it doesn't run.
Starson17 is offline   Reply With Quote