Closed oguzkilcan closed 8 years ago
Fixed in PR #65
Sorry for necrobump, the error just appeared on my calibre-web instance.
There was an error sending this book: Kindlegen failed with Error E24001. Message: The table of content could not be built.
On the logs I can see
[2018-02-13 21:36:38,038] {/calibre-web/app/cps/helper.py:111} INFO - Error(prcgen):E24010: Hyperlink not resolved in toc (One possible reason can be that the link points to a tag with style display:non
e):/tmp/mobi-kFupAh/OEBPS/Text/Sec01.xhtml#sigil_toc_id_1
[2018-02-13 21:36:38,038] {/calibre-web/app/cps/helper.py:110} INFO - make_mobi: Kindlegen failed with Error E24001. Message: The table of content could not be built.M
[2018-02-13 21:36:38,038] {/calibre-web/app/cps/helper.py:111} INFO - Error(prcgen):E24001: The table of content could not be built.
[2018-02-13 21:36:38,972] {/calibre-web/app/cps/helper.py:125} INFO - make_mobi: kindlegen failed with error while converting book
It‘s not a problem of Calibre-web. The kindlegen program can't convert the book, because of some issues with the book itself. Sigil (https://github.com/Sigil-Ebook/Sigil) could help to repair the book.
I didn't knew about Sigil, thanks, but calibre (desktop) can convert the epub just fine... I guess calibre isn't using kindlegen, because 1) it converts the epub without any error, and 2) the converted MOBIs are quite smaller than the epubs converted with calibre-web. (for example, a 700KB epub weighs ~650KB when converted to MOBI with calibre and 2,5MB when converted with calibre-web). I'm very happy with calibre-web, so I can live converting some epub from time to time with calibre, but have you considered to see which method is using calibre to covert those epubs more efficiently and adapt it to calibre-web?
kindlegen sometimes fails while converting ebooks but in calibre web "Book successfully send to xxx@kindle.com" message is shown and an e-mail is sent without an attachment.
`