Export to pdf error

(2 posts) (2 voices)
  • Started 1 year ago by chadwickhung
  • Latest reply from myDBR Team


No tags yet.

  1. chadwickhung, Member

    I got error for some report during exporting to pdf, but not all. For those with error, most likely are mult-tab report. Here is the debut of the export, please help.

    "/usr/local/bin/wkhtmltopdf" -q --zoom "0.75" -O Landscape --margin-top "20" --header-spacing "8" --header-html "https://xxx/isd/user/export_header_pdf.php" --replace rdate "2017-03-07" --replace rtime "02:56:19 pm" /tmp/mydbr_export_916182190.html debug_output.pdf QFont::setPixelSize: Pixel size <= 0 (0) terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted

    Please help

    Posted 1 year ago #
  2. myDBR Team, Key Master

    Wkhtmltopdf is failing for std::bad_alloc error. Are the PDF's that fail large? The error would indicate lack of resources

    Also, check that you are running the latest version of wkhmltopdf (0.12.4 as of this writing).
    myDBR Team

    Posted 1 year ago #


You must log in to post.