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-31718gBQyfiaZKQYw%d' '-f/tmp/magick-31718wYyUkf5utPZw' '-f/tmp/magick-31718ant8SdxGapDy'' (1) @ error/pdf.c/InvokePDFDelegate/291").