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-31586GsNAZtzG9gqy%d' '-f/tmp/magick-31586lnD5WnXtmkzA' '-f/tmp/magick-31586ddqs5B5S3Xwz'' (1) @ error/pdf.c/InvokePDFDelegate/291").