Code Monkey home page Code Monkey logo

latex-aws-lambda-layer's People

Contributors

gojko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

latex-aws-lambda-layer's Issues

Missing package

Can't locate Digest/MD5.pm in @INC (@INC contains: /opt/texlive/texmf-dist/scripts/texlive /opt/texlive/tlpkg /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/texlive/tlpkg/TeXLive/TLCrypto.pm line 9.
BEGIN failed--compilation aborted at /opt/texlive/tlpkg/TeXLive/TLCrypto.pm line 9.
Compilation failed in require at /opt/texlive/tlpkg/TeXLive/TLPDB.pm line 98.
BEGIN failed--compilation aborted at /opt/texlive/tlpkg/TeXLive/TLPDB.pm line 98.
Compilation failed in require at /opt/texlive/bin/x86_64-linux/tlmgr line 101.
BEGIN failed--compilation aborted at /opt/texlive/bin/x86_64-linux/tlmgr line 101.

Solve by installing perl md5 yum install perl-Digest-MD5 -y

How do you workaround 250m limit?

the latex+ perl layer are over 250M unzipped. When I deploy them with my function I got an error:

 Serverless Error ----------------------------------------
 
  An error occurred: FooLambdaFunction - Resource handler returned message: "Function code combined with layers exceeds the maximum allowed size of 262144000 bytes. The actual size is 288321462 bytes. (Service: Lambda, Status Code: 400, Request ID: ...)" (RequestToken: ..., HandlerErrorCode: InvalidRequest).

I wonder how to bypass the limit?

Provide pre-compiled or public arn layer

This would help those who don't have access to Docker to compile it themselves.

I tried compiling it on windows but it can't properly set the unix permissions so it uploads without execute permission on aws

More examples

Cloud you please provide examples using other runtimes? I'm specifically looking for python

Failed to "make all" - Error building pandoc-packages

After cloning the project and running make all I am getting the following error:

[18/19, 00:06/00:06] install: xunicode [26k]
[19/19, 00:06/00:06] install: xurl [2k]
tlmgr: action install returned an error; continuing.
running mktexlsr ...
done running mktexlsr.
running updmap-sys ...
done running updmap-sys.
tlmgr: package log updated: /opt/texlive/texmf-var/web2c/tlmgr.log
tlmgr: An error has occurred. See above messages. Exiting.
make: *** [pandoc-packages] Error 1
make: *** [Makefile:20: all] Error 2

I noticed that by removing ifxetex and ifluatex from the pandoc-packages in Makefile_Latex fixes it.

Custom build and environment update?

Hi I just want to build it with additional latex package and upgrade to node10x or node12x AWS environment since node8.10 is deprecated.

I would like to ensure that import, svg and graphics latex packages will be compiled.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.