limedocs / limedocs-wiki-converter

Generate HTML & PDF documentation from you Github wiki or any other markdown-based wiki
MIT License
43 stars 65 forks source link

Empty PDF output #8

Open 2xyo opened 5 years ago

2xyo commented 5 years ago

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
MrHinsh commented 3 years ago

I have the same issue