Added this to a Heroku (heroku-16) Django app.
Files are installed in app/bin:
~/bin $ find -maxdepth 1 -type f -ls -exec file -b {} \; 15619982 38816 -rwx------ 1 u46936 dyno 39745960 Jan 20 2016 ./wkhtmltopdf ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, stripped 15619983 38740 -rwx------ 1 u46936 dyno 39666344 Jan 20 2016 ./wkhtmltoimage ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, stripped
When using Pdfkit.to_pdf the following error is returned:
OSError('No wkhtmltopdf executable found: "If this file exists please check that this process can read it. Otherwise please install wkhtmltopdf - https://github.com/JazzCore/python-pdfkit/wiki/Installing-wkhtmltopdf'
When running wkhtmltopdf -V:
bash: wkhtml: command not found
Should I set the path variable? If so, how?
Added this to a Heroku (heroku-16) Django app.
Files are installed in app/bin:
~/bin $ find -maxdepth 1 -type f -ls -exec file -b {} \; 15619982 38816 -rwx------ 1 u46936 dyno 39745960 Jan 20 2016 ./wkhtmltopdf ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, stripped 15619983 38740 -rwx------ 1 u46936 dyno 39666344 Jan 20 2016 ./wkhtmltoimage ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, strippedWhen using Pdfkit.to_pdf the following error is returned:
When running wkhtmltopdf -V:
Should I set the path variable? If so, how?