Subject: | Error generated by module doesn't jive with output of wkhtmltopdf |
When generating a pdf with my script, the pdf outputs fine, but
generates a very unfriendly error:
error running '/usr/bin/wkhtmltopdf': '/usr/bin/wkhtmltopdf
/tmp/L-11527G25.html test.pdf' exited with value 2 at
/usr/local/lib/perl5/site_perl/5.12.0/MooseX/Role/Cmd.pm line 128
MooseX::Role::Cmd::run('WKHTMLTOPDF=HASH(0x90758a8)',
'/tmp/L-11527G25.html', 'test.pdf') called at
/usr/local/lib/perl5/site_perl/5.12.0/WKHTMLTOPDF.pm line 645
WKHTMLTOPDF::generate('WKHTMLTOPDF=HASH(0x90758a8)') called at
050470.pl line 47
wkhtmltopdf is not as unfriendly:
mwb@jt:/var/www/ext/spec_lookup/Mech$ /usr/bin/wkhtmltopdf
/tmp/L-11527G25.html test.pdf
Loading pages (1/5)
Resolving links (2/5)
Unable to find target for local link QUrl(
"file:///tmp/L-11527G25.html#" )
Counting pages (3/5)
Printing pages (5/5)
Done
Thanks.