docksal / addons

Community driven, submit your addon! Docksal addons that can be installed via `fin addon install` command.
MIT License
16 stars 34 forks source link

wkhtmltopdf is not working #77

Closed Flower7C3 closed 2 years ago

Flower7C3 commented 2 years ago

When typed fin wkhtmltopdf install the output is:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libjpeg62-turbo' instead of 'libjpeg62'
E: Unable to locate package libx11-dev
E: Unable to locate package libxtst6
E: Unable to locate package ttf-mscorefonts-installer
E: Unable to locate package xfonts-75dpi
E: Unable to locate package xvfb
xvfb-run -a -s "-screen 0 1024x768x16" wkhtmltopdfx "$@"
/usr/local/bin/wkhtmltopdf: line 1: xvfb-run: command not found
lmakarov commented 2 years ago

Try now.

Note: I've never used wkhtmltopdf before, so cannot help if you run into issues using it.

I just got the thing to install properly and launch without issues:

docker@f6f96ddea034:/var/www$ wkhtmltopdf -V
wkhtmltopdf 0.12.5 (with patched qt)