-
Notifications
You must be signed in to change notification settings - Fork 42
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
It seems to crash with docx larger than a certain size #169
Comments
Yes, this looks like a bug in the Libreoffice itself. I've seen problems with larger documents as well |
ok, maybe the newer version would work. btw, when that happens, aws-lambda-libreoffice/lib/convert.js would throw an error as it fails to rm the input file.
|
I get this error as well, even with smaller files. I put the file 'document.docx' in the tmp folder right in the function environment, and it gives me |
We've released a major version of this package that works with the latest LibreOffice 7.3! Check out the docs for a new package here. We're not going to support the previous version of a package that worked with a Lambda Layer and an old 6.4 version of LibreOffice. Feel free to (re)-open a new issue in regards to the recent package version. |
It works perfectly most of the time but certain documents make it crash. I suspect it is document size as the document I tried was 5MB. Desktop Libreoffice is able to convert this docx Real Property Casebook _ text.docx to pdf.
I am not sure if there are special characters in the document that make converting fail. And, subsequent requests that are sent to this same lambda instance would not work (see the error message at the bottom). It seems that the libreoffice soffice.bin file is removed when this error occurs.
This is the error log I got when I tried to convert the attached docx
This the error log for the subsequent requests
The text was updated successfully, but these errors were encountered: