Open mortang2410 opened 12 months ago
@mortang2410 The error says that we cannot determine the page number given its title. I found no way to determine a page's title using python-djvulibre. It is certainly possible, but as far as I understand it is something that only actively maintained libdjvu bindings support (or maybe not?).
Anyway, just for the sake of not raising exceptions, in 2.2.3 warnings are logged instead.
PS: This is not the only problem encountered during conversion of that particular DjVu file. It is a popular book, perhaps there are better DjVu/PDF files over the internet?
With the new commit, I have been able to convert the djvu file successfully, but bookmarks / outline is gone. Yeah, it's not a huge problem as I can find other replacements. I just wanted to report this strange error message.
I tried to explain in my previous comment that the DjVu file uses "page titles", a relatively obscure feature that the libdjvu bindings we use does not support. I know of no way to generate the outline without some work into our dependencies.
This issue can remain open. Somebody has to volunteer to work on DjVuLibre and its bindings in order to fix it, however.
I was trying to convert this djvu file to pdf.
Gerald_B._Folland-Real_Analysis__Modern_Techniques_and_Their_Applications,_2nd_Ed.djvu.zip
And I got this error. Do you know what's going wrong? I'm on Mac OS using Python 3.11.6, pip 23.3.1, Poetry 1.7.1, and dpsprep 2.2.2.