-
Notifications
You must be signed in to change notification settings - Fork 0
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
Layer not working on Amazon Linux 2 #1
Comments
When you execute the binary I need to try it myself on the new vms. |
This is the error I get when I try to convert a file from epub -> mobi
It seems that other people has run in to similar issues when trying to get calibre on Synology devices and to my understanding this is due to missing X11 packages. |
Did you try installing the |
I'll try settings up an image on ec2. Guessing that the Amazon Linux 2 AMI (HVM) is the same image they use in the lambdas? |
I got an ec2 image up and running and have check the following:
The error I get is: |
Ok.. so it seems to simply be an issue with the default locale being wrong. Tried what was suggested in this post and it seems to work in my VM: https://www.mobileread.com/forums/showthread.php?t=286960 I'll try adding these environment variable to my lambda code and hopefully the layer works fine. |
I tried myself to run the layer on |
Ok, I installed Qt as part of chrome headless when debugging (https://intoli.com/blog/installing-google-chrome-on-centos/), and maybe that fixed the first part of the issue.. I'll wipe the server and try it again. |
Would custom runtimes be a way to get around this issue: https://aws.amazon.com/about-aws/whats-new/2020/08/aws-lambda-supports-custom-runtimes-amazon-linux-2/ |
@markusahlstrand did you ever find a workaround to these issues? |
Nope, we are running a docker container as a lambda instead which works well |
Thanks for publishing this layer!
I tried using it in a node lambda, but they run on the newer VM (amazon linux 2) and it doesn't seem to work.. I'm no good with python, but as far as I understand the X11 packages are not available on the newer VM's. Would it be possible to add the missing packages to the layer?
Thanks!
The text was updated successfully, but these errors were encountered: