-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Running command throws com::sun::star::container::NoSuchElementException Exception #29
Comments
Hey @Rudigern, What Lambda runtime do you use? Could you please share the file you're trying to convert? What's the desired output file format? Yeah, you noticed it right. Running the command twice is worth trying. Did it help you? |
@vladgolubev Using NodeJS 12x. I've used two different files and run it against the old Lambda function and the old one works. I do run it twice but the exception still gets thrown and there is no output file however there is still that long string of numbers that occurs in the console.
Whats the error that occurs to need to run it twice? Also I'm using the Lambda Layer at
|
Hello, I have this same error converting a docx file to pdf:
I'm using Python 3.8 (Amazon Linux 2) |
Looks like someone else has come across this issue too. |
Same here trying to run hello world test from https://github.com/shelfio/aws-lambda-libreoffice/blob/master/test.js on both Here is command i used (works well with previous libre build) |
Okay it seems that only |
I've confirmed that as @fughur has said, the |
Can confirm. Running this on an Amazon Linux 2 machine, the binary extracted from |
same error here when running on AWS Lambda /tmp/instdir/program/soffice.bin --headless --invisible --nodefault --nofirststartwizard --nolockcheck --nologo --norestore --convert-to odt --outdir /tmp /tmp/target.txt |
Updating my AWS Lambda function with the new LibraOffice compiled for Amazon Linux 2 and when I run the command it throws
com::sun::star::container::NoSuchElementException'
.I've confirmed the file is there and tried both pptx and docx but it throws the same exception. I did notice in a test that you run the command twice with it expecting to fail the first time, not sure if it's related.
Thanks for your function and work on this, very much appreciated.
The text was updated successfully, but these errors were encountered: