-
Notifications
You must be signed in to change notification settings - Fork 173
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. |
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: