Open mcieaaka opened 6 months ago
Error opening //tmp/wicked_header_pdf20240423-3535-73r70r.html: No such file or directory
Either your TMP directory is becoming non-writable at times, or something is clearing out tmp files before the process that needs them is done.
Do you have a recurring job or deploy process that empties the tmp
dir?
Are you holding a separate reference to the header from one PDF generation, and trying to use it for a second one?
Sorry I don't have an answer on this. I'm just hoping maybe I can help you figure out what's happening on your end.
Can anybody help me to figure out, Why am I facing this issue, and what might be the fix for the same?
Issue description
While trying to generate PDF in my Rails App, I randomly get this error, but unable to recreate or figure out why this is happening
Here is the error:
Before this, I was getting same error, but the message included: "Blocked Access", I tried adding --enable-local-file-access after which I am getting this new error.
System specifications
wicked_pdf gem version: 2.6.3
whtmltopdf provider gem and version if one is used: https://rubygems.org/gems/wkhtmltopdf-binary 0.12.6
platform/distribution and version: Ubuntu 20.04