Andrew,

The ‘-n’ flag did help and resolved an issue.
You have no idea how much I appreciate your help!

I’m interested to know why it failed w/ js enabled. Would you mind to share
that, or point me into the direction where to find the answer?

Best,
Bogdan

On Mon, Apr 23, 2018 at 14:53 Andrew <and...@quickstick.net> wrote:

> 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.
>
> --

---
Best regards,
Bogdan Kulbida
CEO/CTO, Konstankino LLC <http://konstankino.com>
+1.802.793.8295

Reply via email to