Skip to content

Empty PDF output #8

@2xyo

Description

@2xyo

HTML output is fine but pdf output is empty

$ date 
Thu Nov  8 13:35:35 CET 2018

$ sudo npm install -g limedocs-wiki-converter
npm WARN deprecated datauri@0.7.1: Potential REDOS vulnerability removed in v1.1.0
npm WARN deprecated mimer@0.2.3: Potential REDOS vulnerability fixed in v0.3.0
/usr/bin/lwc -> /usr/lib/node_modules/limedocs-wiki-converter/dist/cli/lwc.js
+ limedocs-wiki-converter@0.1.12

$ git clone https://github.com/aol/moloch.wiki.git

$ lwc -v -f pdf ./moloch.wiki
debug:   gwc launched with options format=pdf, output=./, title=Documentation , tocFile=null, tocLevel=3, highlightTheme=darkula, userCssFile=null, verbose=true, disableInlineAssets=false, filename=documentation
debug:   Found 17 markdown files and 17 links pointing to them in TOC
debug:   Generating pdf: 17 pages to generate

$  file documentation.pdf 
documentation.pdf: empty

$ wkhtmltopdf documentation.html test.pdf
Loading page (1/2)
Printing pages (2/2)                                               
Done                         

$ file test.pdf 
test.pdf: PDF document, version 1.4

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 9.5 (stretch)
Release:	9.5
Codename:	stretch

$ nodejs --version
v10.13.0

$ wkhtmltopdf -V
wkhtmltopdf 0.12.3.2


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions