Pdf IOError

Traceback (innermost last):
  File "/home/chandu/eipl/frappe-bench/apps/frappe/frappe/app.py", line 54, in application
    response = frappe.api.handle()
  File "/home/chandu/eipl/frappe-bench/apps/frappe/frappe/api.py", line 42, in handle
    return frappe.handler.handle()
  File "/home/chandu/eipl/frappe-bench/apps/frappe/frappe/handler.py", line 66, in handle
    execute_cmd(cmd)
  File "/home/chandu/eipl/frappe-bench/apps/frappe/frappe/handler.py", line 89, in execute_cmd
    ret = frappe.call(method, **frappe.form_dict)
  File "/home/chandu/eipl/frappe-bench/apps/frappe/frappe/__init__.py", line 527, in call
    return fn(*args, **newargs)
  File "/home/chandu/eipl/frappe-bench/apps/frappe/frappe/templates/pages/print.py", line 93, in download_pdf
    frappe.local.response.filecontent = get_pdf(html)
  File "/home/chandu/eipl/frappe-bench/apps/frappe/frappe/utils/pdf.py", line 28, in get_pdf
    pdfkit.from_string(html, fname, options=options or {})
  File "/home/chandu/eipl/frappe-bench/env/local/lib/python2.7/site-packages/pdfkit/api.py", line 68, in from_string
    return r.to_pdf(output_path)
  File "/home/chandu/eipl/frappe-bench/env/local/lib/python2.7/site-packages/pdfkit/pdfkit.py", line 131, in to_pdf
    ' '.join(args))
 IOError: Command failed: /usr/bin/wkhtmltopdf --margin-top 15mm --margin-right 15mm --page-size A4 --encoding UTF-8 --background --print-media-type --images --margin-left 15mm --no-outline --margin-bottom 15mm - /tmp/0a286deb48a0c1fb745f1877e940f5d704e2f055c17495da9c2c6eae.pdf
Check whhtmltopdf output without 'quiet' option



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5528f759-fefa-4e10-84c5-85633dfdd4c4%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.