Re: ports/textproc/wkhtmltopdf: coredump

Denis Fondras <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <[email protected]>
Le Mon, Aug 17, 2026 at 09:00:29PM -0000, Stuart Henderson a écrit :
> On 2026-08-17, Denis Fondras <[email protected]> wrote:
> > Hello,
> >
> > I am trying to use textproc/wkhtmltopdf to convert a document to PDF.
> 
> Strongly recommend not doing that, it uses special modified builds of
> very old qt5/qtwebkit that are not seeing security fixes etc, it is
> really only there for odoo rendering of specific generated html that
> afaik does not tickle the bugs too badly.
> 
> Try headless chromium/iridium/etc instead, e.g. with these flags
> 
> --headless --disable-gpu --print-to-pdf=/tmp/x.pdf https://www.openbsd.org/
> 
> N.B. unveil applies, so write to /tmp or ~/Downloads etc unless changing
> the permitted dirs.
> 

Thank you for your message. Unfortunately, my original problem comes from Odoo
which cannot generate a pdf invoice (same coredump as a manual run).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.