I am having the same probleme (getting stuck in processing ).
I understand that you were converting html to epub.
I have some of my epub that cannot get processed by my kobo. I can identify which books seems corrupted (copying one by one). How can I "repair" them ? I have not created them from html.