You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue where my AWS Lambda function cannot find the wkhtmltopdf executable despite it being included in the deployment package. The error thrown is:
Error processing message: No wkhtmltopdf executable found: \"\"\nIf this file exists please check
that this process can read it or you can pass path to it manually in method call, check README.
Otherwise please install wkhtmltopdf - https://github.com/JazzCore/python-pdfkit/wiki/Installing-wkhtmltopdf
To resolve this, I've attempted the following without success:
Including the wkhtmltopdf binary in the deployment package via the pdfkit configuration.
Ensuring the binary exists in the expected path and has the correct permissions set (chmod +x).
I suspect I'm missing a step in the build or deployment process. I'm looking for guidance on how to ensure the wkhtmltopdf binary is correctly included in my Lambda function's deployment package and is discoverable at runtime. Any help or insight into what might be going wrong would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I'm encountering an issue where my AWS Lambda function cannot find the
wkhtmltopdf
executable despite it being included in the deployment package. The error thrown is:To resolve this, I've attempted the following without success:
wkhtmltopdf
binary in the deployment package via thepdfkit
configuration.chmod +x
).Here's the relevant part of my code:
I suspect I'm missing a step in the build or deployment process. I'm looking for guidance on how to ensure the wkhtmltopdf binary is correctly included in my Lambda function's deployment package and is discoverable at runtime. Any help or insight into what might be going wrong would be greatly appreciated.
The text was updated successfully, but these errors were encountered: