wkhtmltopdf : error & excution log

3,589 views
Skip to first unread message

Sub Phil

unread,
Nov 23, 2014, 11:13:03 AM11/23/14
to wkhtmltop...@googlegroups.com
Hi,

I'm new to wkhtmltopdf, thanks for building it.

But except if I miss understood I see issues with error & execution logs.

The objectif are:
  1. Identify files (if any) with could not be converted from html to pdf.
  2. Identify files where some attachements could not be found.
  3. Idendify files where their are no errors or warning.
My command under Windows 7:
for %k in (*.html) do (wkhtmltopdf.exe "%k" "wkhtmltopdf\%k".pdf >> _logfile.txt 2>> _logErr.txt )

So when I have a log file as the following it does not help, since:
1/ I do not know to which files it applies to.
2/ I have to much information to decide whether my output is OK, partial or failed.

Thanks

Loading pages (1/6)
[>                                                           ] 0%
[======>                                                     ] 10%
[=========>                                                  ] 15%
[===========>                                                ] 19%
Warning: Failed to load http://img2.ymlp39.net/5a7j_quartierleopold_4.jpg (ignore)
Warning: Failed to load http://img2.ymlp39.net/5a7j_20110526a_1.jpg (ignore)
Warning: Failed to load http://t.ymlp39.net/zyqhydpmsbulhhl/footer.gif (ignore)
[============================================================] 100%
Counting pages (2/6)                                               
[============================================================] Object 1 of 1
Resolving links (4/6)                                                       
[============================================================] Object 1 of 1
Loading headers and footers (5/6)                                           
Printing pages (6/6)
[>                                                           ] Preparing
[==============================>                             ] Page 1 of 2
[============================================================] Page 2 of 2
Done                                                    
 

Sub Phil

unread,
Nov 23, 2014, 11:24:30 AM11/23/14
to wkhtmltop...@googlegroups.com
Yes, I forgot to say that on a test directory with 1372 input  files, I have 1304 ouput files.
Reply all
Reply to author
Forward
0 new messages