PDF Error

(2 posts) (2 voices)

Tags:

No tags yet.

  1. haigda, Member

    I have started getting this error on export to PDF - Where should I start to look?

    There was an error (code:0) producing the pdf document
    Failed command: /usr/bin/wkhtmltopdf.sh -q --header-html http://byglenton.bitnamiapp.com/mydbr/user/export_header_pdf.php --margin-top 20 --header-spacing 8 /tmp/mydbr_export_1496016682.html -

    I have a PDF of PDFINFO() if that would help?

    Cheers,
    David

  2. myDBR Team, Key Master

    David,
    in most cases the PDF export failure is caused by the wkhtmltopdf version installed. Make sure you have the latest version installed (http://wkhtmltopdf.org).

    To see what is actually causing the problem in your case, use the debug export option to produce the HTML file.

    select 'dbr.export.options', 'debug', 1

    When you run the report next time, myDBR will show you the commands you can use from command line. The error messages from the command line can be more verbose.

    --
    myDBR Team


Reply

You must log in to post.