shelfio / libreoffice-lambda-layer

MIT License
112 stars 22 forks source link

No ouput PDF found #56

Open arthurGHT opened 1 year ago

arthurGHT commented 1 year ago

Hi,

I use python3.8 in the lambda and run commands like:

conv_cmd = f"{soffice_path} --headless --norestore --invisible --nodefault --nofirststartwizard --nolockcheck --nologo --convert-to pdf:writer_pdf_Export --outdir /tmp {tmp_path(docx_filename)}"

I print the output is: convert /tmp/589-4198.docx -> /tmp/589-4198.pdf using filter : writer_pdf_Export

BUT not /tmp/589-4198.pdf found when the return code is 0

This code works well a couple of months ago. And I didn't change anything.

Did this layer change?