Attn, rr
I have furtherly investigated about why Iâm not able to export PDF files and Iâve found what follows.
a) When clicking Export to PDF in the folder /opt/NetMake/v81/wwwroot/scriptcase/tmp the following files are created:
- sc_css_grid_FSTL-2_grid_106.css
- sc_grid_FSTL-2_html_vp1p9l1m2tm7r2got6qtg5lia1.html
- sc_pdf_20170129164820_9_grid_FSTL-2.log
The logt file probably explains why the file is not created
./wkhtmltopdf-amd64 --page-size Letter --orientation Landscape --outline-depth 0 --footer-right â[page]â http://MyPrivateIpAddress:8081/scriptcase/tmp/sc_grid_FSTL-2_html_vp1p9l1m2tm7r2got6qtg5lia1.html /opt/NetMake/v81/wwwroot/scriptcase/tmp/sc_pdf_20170129164820_9_grid_FSTL-2.pdf
Executing manually wkhtmltopdf exactly how itâs written in the log file I get this error:
/opt/NetMake/v81/wwwroot/scriptcase/prod/third/wkhtmltopdf/linux-amd64/wkhtmltopdf-amd64: error while loading shared libraries: libXrender.so.1: cannot open sha red object file: No such file or directory
wkhtmltopdf doesnât depend on libXrender, but to test if this was the cause Iâve installed this library without success, but nopw I get a new error:
/opt/NetMake/v81/wwwroot/scriptcase/prod/third/wkhtmltopdf/linux-amd64/wkhtmltopdf-amd64: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
Itâs clear that wkhtmltopdf has not been installed completely and properly.
I could do it, but I cannot move it into the folder required by Scriptcase.
Can you please, clarify.
This is not my misunderstanding, but itâs a bug in the installation script of ScriptCase.
Thanks
Mimmo