vladholubiev / serverless-libreoffice

Run LibreOffice in AWS Lambda to create PDFs & convert documents
https://vladholubiev.com/serverless-libreoffice
513 stars 75 forks source link

Issue converting to pdf, getting NoSuchElementException #44

Open vladgardusseedblink opened 6 months ago

vladgardusseedblink commented 6 months ago

I am using the step by step example to convert a word document to a pdf and i get this error:

Error: Command failed: cd /tmp && /tmp/instdir/program/soffice.bin --headless --invisible --nodefault --nofirststartwizard --nolockcheck --nologo --norestore --convert-to pdf --outdir /tmp "128-performance based template.docx" terminate called after throwing an instance of 'com::sun::star::container::NoSuchElementException'

Could you help me out with what the issue is?

I confirm I have this file in my /tmp folder.