View Single Post
Old 11-09-2010, 03:58 PM   #10
marbs
Zealot
marbs began at the beginning.
 
Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
you were returning none. that means that when calibre was looking for the article and found none. that is still something. a none instance of soup.
in my solution the recipe got to a stage that it said something like:
article=postprocess_html(soup)
article was expecting to get a soup instance back, instead postprocess exited in the middle(there is no veriable called "something").

when calibre went to collect all the articles from the places they were saved in, it went to the article we messed up and said "this does not exist at all, i must have not downloaded this file". so it was not indexed....

if you want to build in a recipe, post the full code here with a "hey Kovid, this is ready to be built in" or something along thous lines.

edit:
i see Kovid beat me to it. so ill throw in a "hey Kovid" my self.
hey kovid
marbs is offline   Reply With Quote