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?