Is the Pdf open when you get that error? On Thu, 9 Mar 2023, 21:24 Elephant, wrote: > Hello, > > When I try to to convert form markdown to pdf with weasyprint or > wkhtmltopdf, I get the error message `pandoc: openFile: resource busy (file > is locked)`. > > For example, > > > echo "example" | pandoc -o example.pdf --pdf-engine=wkhtmltopdf > [WARNING] This document format requires a nonempty element. > Defaulting to '-' as the title. > To specify a title, use 'title' in metadata or --metadata title="...". > pandoc: openFile: resource busy (file is locked) > > and > > > echo "example" | pandoc -o example.pdf --pdf-engine=weasyprint > [WARNING] This document format requires a nonempty <title> element. > Defaulting to '-' as the title. > To specify a title, use 'title' in metadata or --metadata title="...". > pandoc: openFile: resource busy (file is locked) > > I'm on macos Ventura 13.2.1 and pandoc 3.1. Any idea how to fix this? > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/6076f667-a748-4e17-969c-9264882cd273n%40googlegroups.com > <https://groups.google.com/d/msgid/pandoc-discuss/6076f667-a748-4e17-969c-9264882cd273n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgMyFr%2BULLO7gAG_ScOZRutfosxdDih7m3SyDbpx08FW7A%40mail.gmail.com.