-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pdf_from_string works on deployed version on heroku, but fails on local, giving empty error #605
Comments
Does Does The gem tries to guess where the WickedPdf.config = {
exe_path: '/usr/local/bin/wkhtmltopdf'
} |
Hi,
However, running When I run
|
Stumbled upon this thread trying to fix a similar issue. The gem worked perfectly on local machine, but failed on production with no output at all. I run a Rails app inside of a docker container based on alpine image. Long story short, some of the libs were missing. I figured that by executing Important here is that |
Thanks. There was some improvement to finding the binary in #728 that has been merged, but not yet released that might be helpful. If you could check against |
@mbirman Hi, I have the same issue and can't find the solution. My case is that wkhtmltopdf located in my '/usr/local/bundle/bin/wkhtmltopdf', and when I run it '/usr/local/bundle/bin/wkhtmltopdf www.google.com google.pdf' , it will show no outputs at all. Then I have run 'apk add wkhtmltopdf', and it's installed in /usr/bin/wkhtmltopdf And when I use it to generate pdf, it says Error relocating /usr/lib/libQt5Core.so.5: getentropy: symbol not found Im totally out of clue for this. Could you tell me how did you fix that? |
I am also facing the same issue (it just works locally, does not work on Docker container). I get this error while running on a docker container:
Outputs on docker:
On my localhost:
EDIT: just found out that it was an Alpine issue. There's an Alpine compiled binary that works well... |
Hi,
I am using the
WickedPdf.new.pdf_from_string()
, which works great in the deployed version, but on my local rails server, I get this error:I'm using version 1.0.6, with the following in my gemfile:
Here is my controller:
Please help. Thank you
The text was updated successfully, but these errors were encountered: