Hi,
Can any one help me to solve this problem, One we click on DOWNLOAD PDF we are getting below server error
Traceback (innermost last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 52, in application
response = frappe.api.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/api.py”, line 42, in handle
return frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 89, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 531, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/templates/pages/print.py”, line 94, in download_pdf
frappe.local.response.filecontent = get_pdf(html)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/pdf.py”, line 28, in get_pdf
pdfkit.from_string(html, fname, options=options or {})
File “/home/frappe/frappe-bench/env/lib/python2.7/site-packages/pdfkit/api.py”, line 66, in from_string
configuration=configuration)
File “/home/frappe/frappe-bench/env/lib/python2.7/site-packages/pdfkit/pdfkit.py”, line 38, in init
self.configuration = (Configuration() if configuration is None
File “/home/frappe/frappe-bench/env/lib/python2.7/site-packages/pdfkit/configuration.py”, line 27, in init
‘Installing wkhtmltopdf · JazzCore/python-pdfkit Wiki · GitHub’ % self.wkhtmltopdf)
IOError: No wkhtmltopdf executable found: “”
If this file exists please check that this process can read it. Otherwise please install wkhtmltopdf - Installing wkhtmltopdf · JazzCore/python-pdfkit Wiki · GitHub
I did update the Bench update, But still error is same.
Regards
Waheed