While Creating the salary slip's by using payroll entry, It's giving an error

wkhtmltopdf reported an error:
The switch --print-media-type, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.The switch --disable-smart-shrinking, is not support using unpatched qt, and will be ignored.QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-erp’
Exit with code 1 due to network error: TimeoutError

Hi,

Please install the wkhtmltopdf qt patched using following commands:

wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xvf wkhtmltox*.tar.xz
sudo mv wkhtmltox/bin/wkhtmlto* /usr/bin
sudo apt-get install -y openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig

Thanks,

Divyesh Mangroliya

Hi,
Can I install the wkhtmltopdf qt patched version in production mode?
plz confirm.

Thanks in Advance
Eranna

Hi,

Yes you can.

Thanks,

Divyesh Mangroliya

Hi… @mangroliya
I installed wkhtmltopdf with qt patched version. But I am getting this error

HI @mangroliya
image
How to resolve this error and the above email error