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-25041fkQlCDWNSbbH%d' '-f/tmp/magick-25041XRUlJ8pq0CMI' '-f/tmp/magick-25041oNlj_-5sACZG'' (1) @ error/pdf.c/InvokePDFDelegate/291").