2016-10-10 12 views
1

Ich habe whktmltopdf mit this link installiert.whktmltopdf Fehler beim Öffnen PDF

Jetzt wirft es unter Fehler beim Öffnen von PDF in Frappe-Framework.

raise IOError("wkhtmltopdf exited with non-zero code {0}. error:\n{1}".format(exit_code, stderr.decode("utf-8"))) 

IOError: wkhtmltopdf exited with non-zero code 1. error: 
--no-outline specified in incorrect location 

Name: 
wkhtmltopdf 0.12.2.1 (with patched qt) 

Wie kann ich das beheben?

Antwort

1

Sie müssen wkhtmltopdf neu installieren.

Schritte neu installieren wkhtmltopdf auf ubuntu 14,04

wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb 
sudo apt-get update 
sudo apt-get install wkhtmltox 
sudo apt-get -f install 
sudo dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb 
wkhtmltopdf -V 
rm wkhtmltox-0.12.2.1_linux-trusty-amd64.deb