View Single Post
Old 07-18-2013, 03:04 PM   #9
camiller
Addict
camiller ought to be getting tired of karma fortunes by now.camiller ought to be getting tired of karma fortunes by now.camiller ought to be getting tired of karma fortunes by now.camiller ought to be getting tired of karma fortunes by now.camiller ought to be getting tired of karma fortunes by now.camiller ought to be getting tired of karma fortunes by now.camiller ought to be getting tired of karma fortunes by now.camiller ought to be getting tired of karma fortunes by now.camiller ought to be getting tired of karma fortunes by now.camiller ought to be getting tired of karma fortunes by now.camiller ought to be getting tired of karma fortunes by now.
 
Posts: 285
Karma: 1387630
Join Date: Aug 2011
Device: Kobo Wireless
First, what I don't know about Python would fill a book on Python...

it looks to me like it is dying on this line:
Code:
for x in toc.findAll(['p']):
because toc is undefined. toc is set by
Code:
 toc = main.find('td', attrs={'width':'225'})
but there is not a td element with a width of 255 to find, because it is changed to 204. also, the outer table that was previously had a width of 911 is now 944 wide.

Fixing these two things seem to let the recipe run to completion.


Edit: I forgot to set calibre to not delete news articles and have lost the first two issues, anyone have the epub saved?

Last edited by camiller; 07-18-2013 at 03:15 PM.
camiller is offline   Reply With Quote