vladholubiev / serverless-libreoffice

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

compile.sh for 6.4.0.1 #38

Open mattporritt opened 3 years ago

mattporritt commented 3 years ago

Is it possible to update the compile.sh to match the release for: 6.4.0.1 It seems to be still for 6.2.1.2 I can download the generated archive, but it would be great to be able to replicate the compilation process.

I'm trying to get this working on Python 3.8, however I'm not having any luck. With the version I compile I get SalAbort: 'Unknown application error' (after resolving a lot of missing shared libs). I'm using this AMI to compile on: https://ap-southeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-2#Images:visibility=public-images;search=ami-06ce513624b435a22;sort=name

Also when I download the release from this repo for 6.4.0.1 I'm getting the following error when I try to run my Lambda function: terminate called after throwing an instance of 'com::sun::star::container::NoSuchElementException'

I'm only getting the errors when I try to run the LibreOffice Binary in Lambda when I test it on an EC2 instance running the above AMI everything works fine.