On 04/23/18 15:50, Bogdan Kulbida wrote:
Hi Everyone,

I'm trying to use wkhtmltopdf to generate PDF from my HTML files. I
was googling like crazy but did no find any valuable information so
far.
When I run (as root)

# /usr/local/bin/wkhtmltopdf http://google.com /tmp/out.pdf

It does generate pdf just fine. But when I run the same command as
unprivileged user I got
Trace/BPT trap (core dumped)                                 ] 10%

Bogdan,
See if this helps. As an unprivileged user, try the -n switch to disable
javascript -- e.g. wkhtmltopdf -n [args].
-A

PS: A related package is htmldoc -- but I haven't tried it out yet.

Reply via email to