samoconnor / lambdalatex

Latex TeX Live for AWS Lambda
MIT License
31 stars 7 forks source link

AWSLambda breaking changes on Julia 0.6.3 #1

Open wzard opened 6 years ago

wzard commented 6 years ago

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 ```
samoconnor commented 6 years ago

Hi @wzard, Thanks for trying this out. The AWSLambda.jl module is part-way though some update work at present. I think you'll need to do julia> Pkg.checkout("AWSLambda", "master") do get the latest version. Note: I'm going through the process of checking that everything works with Julia 0.6.3 today and tomorrow, so if it doesn't work for you right away. Check back in a couple of days. Cheers, Sam

wzard commented 6 years ago

Thanks @samoconnor . I actually used boto3 from python for the Lambda service. I have forked your repo and modified. Thanks for the good work.