HTML2PDF not working in linux after Upgrade PDFNet to 9.3.8 and HTML2PDF.so version 1.0.0.4

Viewed 22

PDFNET SDK 8.1.17 and HTML2PDF 1.0.0.4 ,everything works

PDFNET SDK 9.3.8 and HTML2PDF 1.0.0.4 , Not working.

Looks like new library may be not converting html to pdf in given temp path from PDFNET SDK PDFNet.setTempPath(tempPDFTron.toString()); PDFNet.setPersistentCachePath(tempPDFTron.toString());

or need some additional configuration in the code for Linux. On Windows, everything works with old and new library setup. We are using CentOS 6 and GLIBC version is 2.12. (New PDFNET SDK works fine for other conversions with this setup) only HTML2PDF conversion is failing.

We tried to execute pdftron sample on same linux environment and getting same exception as below.

2 Conversion failed. HTTP Code: 0
Missing output file /tmp/pdftron/Trn-13950-1663686283-c7569d55-eecc-4e39-a897-585d3edfa2d1
-Permission: write

Note: We cannot upgrade latest html2pdf because of GLIBC 2.12

1 Answers
Related