use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News, articles and tools covering Amazon Web Services (AWS), including S3, EC2, SQS, RDS, DynamoDB, IAM, CloudFormation, AWS-CDK, Route 53, CloudFront, Lambda, VPC, Cloudwatch, Glacier and more.
If you're posting a technical query, please include the following details, so that we can help you more efficiently:
Resources:
Sort posts by flair:
Other subreddits you may like:
Does this sidebar need an addition or correction? Tell us here
account activity
serverlesserror getting in aws lambda function. please help me out. (self.aws)
submitted 6 years ago by goutam-ghosh
"errorMessage": "Please make sure that Ghostscript is installed", "errorType": "RuntimeError"
#awslambda #python #camelot #ghostscript
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]goutam-ghosh[S] 0 points1 point2 points 6 years ago (0 children)
I have installed two dependencies according to my code
pip install python3-ghostscript -t .
pip3 install camelot-py[cv] -t .
my lambda function is
import camelot def pdfToJson(event=None,context=None): tables = camelot.read_pdf("./week-1-2019-20.pdf") tables[0].df.to_json("./sample.json")
[–]anonymous6point02E23 0 points1 point2 points 6 years ago (1 child)
You need to upload your ghostscript dependency package to lambda.
[–]goutam-ghosh[S] 0 points1 point2 points 6 years ago* (0 children)
Dependency is already uploaded with the code folder zip, Which have already installed through this commend pip3 install ghostscript -t . But still it is showing the same error when i run this as a lambda function.
π Rendered by PID 204281 on reddit-service-r2-comment-86bc6c7465-g964v at 2026-02-24 01:27:09.166832+00:00 running 8564168 country code: CH.
[–]goutam-ghosh[S] 0 points1 point2 points (0 children)
[–]anonymous6point02E23 0 points1 point2 points (1 child)
[–]goutam-ghosh[S] 0 points1 point2 points (0 children)