-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EPUB to PDF Conversion fails for large EPUB #1024
Comments
Hm, I think the conversion command failed because you did not close the
Also, how many pages is your EPUB file? If we're talking about thousands of pages, it may be the case that you're running out of RAM, since the rasterized version of each page is much large than the text source. |
Also, I just ran Dangerzone against a very large .epub file, and I see this error message:
If you see something similar, then that's expected I'm afraid. We have some sane limits for the number of pages in a document, so that you don't end up with a PDF that is in the order of gigabytes 🫤 (if the conversion process completes at all). |
Still get: It's 210 pages. |
Yeah those limits are fair enough lol. Strangely though, when using the desktop app I'm getting the error "Conversion to PDF with LibreOffice failed." I don't really see anything in the documentation about it. I have LibreOffice installed if that matters. |
It may just be this specific file. Saved a copy of it with Calibre and Dangerzone converts that just fine. |
... damn. I missed this error message on your first post. Well, the LibreOffice that you see in the message is actually installed in the Dangerzone container image. What's weird though is that LibreOffice is not supposed to be used internally when converting EPUB files. Most likely this file has a signature (MIME type) that confused Dangerzone. If we could find out the MIME type of the file (see example), it would help for future files. |
Hi @Hitmanforrent, I hope you had a great end of year. If you are able to get us the MIME type you're using, that would be helpful for us to debug further and eventually fix this issue for other users in the future. Don't hesitate if you need some help on how to get this information (if the link provided by @apyrgio isn't clear enough for instance). |
Ah! My sincere apologies, I spaced on this. Here's the MIME type:
|
What happened?
Dangerzone hangs, then displays "Conversion to PDF with LibreOffice failed" when attempting to convert large EPUBs.
operating system version
Windows 11 Pro, Version 23H2 (0S Build 22631.4541)
Dangerzone version
0.8.0
Docker info
Document conversion logs
Additional info
No response
The text was updated successfully, but these errors were encountered: