View Single Post
Old 01-25-2010, 05:47 PM   #1279
evanmaastrigt
Connoisseur
evanmaastrigt doesn't litterevanmaastrigt doesn't litter
 
Posts: 78
Karma: 192
Join Date: Nov 2009
Device: Sony PRS-600
Quote:
Originally Posted by Over View Post
Aha! I think I know what's the problem! One of the titles has an «'», so that section name must be between " instead of '.
Just a tip: when you are editing recipes in calibre's GUI and you are not so comfortable with Python syntax: save your edits line by line. Or block by block in the case of 'if' or 'for' constructs. Line numbers are not visible in the recipe, and the line number the error gives will be off by 3, 2, or sometimes only 1 line anyway. If you do it line by line you will know immediately where to look.

Or do your editing in a Python syntax aware text editor. That would have flagged this error right on the spot.
evanmaastrigt is offline