samoconnor / lambdalatex Goto Github PK
View Code? Open in Web Editor NEWLatex TeX Live for AWS Lambda
License: MIT License
Latex TeX Live for AWS Lambda
License: MIT License
Julia deploys lambda function not in configured aws-region (aws-config). Julia deploys only in virginia.
Hello, could you help me trying to get this to work on a lambda layer? They have a different folder structure, for example you can't just put the libraries in the root folder, aws expects them to be in /lib.
So, where would I put texlive.profile and texlive? And do I need to change the .profile?
Thanks
I am following the instructions in a EC2 server using Julia 0.6.3. AWSLambda module is not working on the server.
The following error happens at the test function in the module.
ERROR: LoadError: MethodError: no method matching lambda_configuration(::String)
Closest candidates are:
lambda_configuration(!Matched::Dict{Symbol,Any}, !Matched::Any) at /home/ubuntu/.julia/v0.6/AWSLambda/src/AWSLambda.jl:85
Stacktrace:
[1] deploy() at /home/ubuntu/lambdalatex/make.jl:53
[2] all() at /home/ubuntu/lambdalatex/make.jl:17
[3] include_from_node1(::String) at ./loading.jl:576
[4] include(::String) at ./sysimg.jl:14
[5] process_options(::Base.JLOptions) at ./client.jl:305
[6] _start() at ./client.jl:371
while loading /home/ubuntu/lambdalatex/make.jl, in expression starting on line 111 ```
In https://aws.amazon.com/blogs/compute/upcoming-updates-to-the-aws-lambda-execution-environment/ AWS announced an upgrade to the Lambda execution environment from Amazon Linux version 2017.03 to version 2018.03.
lambdalatex
does not work in the newer environment 2018.03. The latexmk
command in lambdalatex
needs perl
. However, /usr/bin/perl
which was present in 2017.03 Lambda images is removed from 2018.03 images.
To use lambdalatex
we need to come up with a way to make perl available in the Lambda function. I tried the layer mentioned in https://github.com/moznion/aws-lambda-perl5-layer
However, I got signal 11 while running latexmk
. It is possible that that layer is built against 2017.03. I tried to build my own layer but got exit code 127 while invoking latexmk --version
. I am not an expert in perl. Nor am I an expert in the texlive distribution. I am unable to make further progress.
Do you have any thoughts on how to make lambdalatex
work on Amazon Linux 2018.03 OS version?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.