Twig\Error\RuntimeError thrown

An exception has been thrown during the rendering of a template ("FailedToExecuteCommand `'gs' -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r72x72' -dFirstPage=1 -dLastPage=1 '-sOutputFile=/tmp/magick-24905JL7xiCPmQdwm%d' '-f/tmp/magick-24905kSYJYMvBJKko' '-f/tmp/magick-24905OLJyQqi5aYho'' (1) @ error/pdf.c/InvokePDFDelegate/291").