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:
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.