Open apyrgio opened 1 month ago
Re-introducing timeouts for the whole document is a solution I'd personally like to avoid. They have bitten us a lot in the past (#749), they are arbitrary (documents with many pages lead to very large timeout times), and we have recently decided to ditch them altogether (#687).
What makes more sense to me is the following:
PageRange
option is of interest to us.unoconvert
), but maybe we can send these API requests programmatically.Some extra benefits of this approach:
PageRange
arguments via the LibreOffice CLI, UNO server loads the document in memory once, so it offers faster conversion times for documents with lots of pages.(Leaving unmilestoned for now given lower potential impact)
When running Dangerzone against our large test set, we found that some files (e.g.,
fdo78883.docx
andofz21168-1.doc
) make LibreOffice 7.6 hang.We opened a bug report for these files, but until the underlying issue is solved, we need a way to detect such hangs, and stop the conversion.