Exception detected!

The exit status code '127' says something went wrong:
stderr: "sh: 1: /usr/local/bin/wkhtmltopdf: not found
"
stdout: ""
command: /usr/local/bin/wkhtmltopdf --lowquality --footer-html '/tmp/knp_snappy660537184bbdd9.50622295.html' --header-html '/tmp/knp_snappy660537184bbf71.08450371.html' '/tmp/knp_snappy660537184bb8a8.26672390.html' '/tmp/knp_snappy660537184bbbc9.56371856.pdf'.

500 Internal Server Error - RuntimeException

Stack Trace

  1. in vendor/knplabs/knp-snappy/src/Knp/Snappy/AbstractGenerator.php at line 378  -
    1.     protected function checkProcessStatus($status$stdout$stderr$command)
    2.     {
    3.         if (!== $status and '' !== $stderr) {
    4.             throw new \RuntimeException(sprintf(
    5.                 'The exit status code \'%s\' says something went wrong:' "\n"
    6.                 'stderr: "%s"' "\n"
    7.                 'stdout: "%s"' "\n"
  2. at AbstractGenerator ->checkProcessStatus ('127', '', 'sh: 1: /usr/local/bin/wkhtmltopdf: not found ', '/usr/local/bin/wkhtmltopdf --lowquality --footer-html '/tmp/knp_snappy660537184bbdd9.50622295.html' --header-html '/tmp/knp_snappy660537184bbf71.08450371.html' '/tmp/knp_snappy660537184bb8a8.26672390.html' '/tmp/knp_snappy660537184bbbc9.56371856.pdf'')
    in vendor/knplabs/knp-snappy/src/Knp/Snappy/AbstractGenerator.php at line 177  +
  3. at AbstractGenerator ->generate (array('/tmp/knp_snappy660537184bb8a8.26672390.html'), '/tmp/knp_snappy660537184bbbc9.56371856.pdf', array('lowquality' => true, 'footer-html' => '/tmp/knp_snappy660537184bbdd9.50622295.html', 'header-html' => '/tmp/knp_snappy660537184bbf71.08450371.html'), false)
    in vendor/knplabs/knp-snappy/src/Knp/Snappy/Pdf.php at line 63  +
  4. at Pdf ->generate (array('/tmp/knp_snappy660537184bb8a8.26672390.html'), '/tmp/knp_snappy660537184bbbc9.56371856.pdf', array('header-html' => '<!DOCTYPE html><html><head><script> function subst() { var vars={}; var x=document.location.search.substring(1).split('&'); for (var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);} var x=['frompage','topage','page','webpage','section','subsection','subsubsection']; for (var i in x) { var y = document.getElementsByClassName(x[i]); for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; } } </script></head><body style="border:0; margin: 0; max-height:10mm; background:#fff; overflow:hidden; " onload="subst()"> <br /> </body></html> ', 'footer-html' => '<!DOCTYPE html><html><head><script> function subst() { var vars={}; var x=document.location.search.substring(1).split('&'); for (var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);} var x=['frompage','topage','page','webpage','section','subsection','subsubsection']; for (var i in x) { var y = document.getElementsByClassName(x[i]); for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; } } </script></head><body style="border:0; max-height:10mm; font-size:8pt; color:#666; padding-bottom:15px; overflow:hidden; " onload="subst()"> <main> <table style="width: 100%;"> <tr> <td>www.lesvitaminesdelemploi.com</td> <td style="text-align:right"> Page <span class="page"></span> sur <span class="topage"></span> </td> </tr> </table> </main> </body></html> '))
    in vendor/knplabs/knp-snappy/src/Knp/Snappy/AbstractGenerator.php at line 221  +
  5. at AbstractGenerator ->getOutput (array('/tmp/knp_snappy660537184bb8a8.26672390.html'), array('header-html' => '<!DOCTYPE html><html><head><script> function subst() { var vars={}; var x=document.location.search.substring(1).split('&'); for (var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);} var x=['frompage','topage','page','webpage','section','subsection','subsubsection']; for (var i in x) { var y = document.getElementsByClassName(x[i]); for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; } } </script></head><body style="border:0; margin: 0; max-height:10mm; background:#fff; overflow:hidden; " onload="subst()"> <br /> </body></html> ', 'footer-html' => '<!DOCTYPE html><html><head><script> function subst() { var vars={}; var x=document.location.search.substring(1).split('&'); for (var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);} var x=['frompage','topage','page','webpage','section','subsection','subsubsection']; for (var i in x) { var y = document.getElementsByClassName(x[i]); for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; } } </script></head><body style="border:0; max-height:10mm; font-size:8pt; color:#666; padding-bottom:15px; overflow:hidden; " onload="subst()"> <main> <table style="width: 100%;"> <tr> <td>www.lesvitaminesdelemploi.com</td> <td style="text-align:right"> Page <span class="page"></span> sur <span class="topage"></span> </td> </tr> </table> </main> </body></html> '))
    in vendor/knplabs/knp-snappy/src/Knp/Snappy/AbstractGenerator.php at line 242  +
  6. at AbstractGenerator ->getOutputFromHtml ('<!DOCTYPE html> <html> <head> <base href="https://www.lesvitaminesdelemploi.com"> <meta charset="utf-8"> <link href="/css/a02094b_font-awesome.min_4.css" rel="stylesheet"> <link href="/css/a02094b_fonts_5.css" rel="stylesheet"> <link href="/css/a02094b_greentic-fonts_6.css" rel="stylesheet"> <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous"> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script> </head> <body> <style> .page-break-inside {page-break-inside: avoid;} .page-break-before {page-break-before: always;} .page-break-after {page-break-after: always;} .text-violet { color: #4d16bd; } .cap { text-transform: uppercase; } .calibriBold { font-family: "CalibriBold"; } section#header{ padding:0 0 15px 0; } section#header p{ float:right; text-align:right; line-height:1; font-family: "CalibriBold"; color: #4d16bd; font-size:22px; padding-top:20px; } section#header p strong{ display:block; } section#profile { background-color:rgba(200,200,200,1); background-image: none; background-position: left center; background-size: auto 100%; background-repeat: no-repeat; height: 60mm; position: relative; } section#profile .profile-layer { width: 80%; height: 100%; position: absolute; right: 0; } section#profile .profile-layer::before { display: block; float: left; width: 10%; height: 100%; content: '\1'; background: -webkit-linear-gradient(left, rgba(200,200,200,0) 0%,rgba(200,200,200,1) 33%); } section#profile .profile-content { height: 100%; float: left; width: 90%; background-color:rgba(200,200,200,1); color: #4d16bd; text-align: right; padding:5mm; } section#profile .profile-content .firstname { display: block; font-size: 32pt; line-height: 1; text-transform: uppercase; font-family: "CalibriBold"; font-weight:bold; } section#profile .profile-content .temper { display: block; font-size: 18pt; line-height: 1; text-transform: uppercase; font-family: "CalibriLight"; } section#profile .profile-content .is-recruited { display: inline-block; font-size: 8pt; color:white; line-height: 1; font-family: "CalibriLight"; background: #f07e04; border-radius: 3px; padding: .25rem .5rem; text-transform: uppercase; width:100px; text-align:center; } section#profile .profile-content .description { display: block; font-size: 10pt; line-height: 1; color: #333; font-family: "CalibriLight"; margin-top:5mm; } section#message { margin:auto; text-align: center; width: 80%; font-size:16pt; margin-top:5mm; } section#message header { font-family: 'CalibriLight'; text-transform: uppercase; color: #666; line-height: 1rem; margin: 0 auto; display: table; } section#message header .candidate { font-family: "CalibriBold"; color: #4d16bd; font-weight:bold; } section#message header::before { margin-left: 33%; margin-bottom: 5px; position:relative; left:7%; content: ""; display: block; background: #ed6e08; width: 1px; height: 20px; -ms-transform: rotate(30deg); -webkit-transform: rotate(30deg); transform: rotate(30deg); } section#message header::after { position:relative; left:-7%; margin-left: 33%; margin-top: 5px; content: ""; display: block; background: #ed6e08; width: 1px; height: 20px; -ms-transform: rotate(30deg); -webkit-transform: rotate(30deg); transform: rotate(30deg); } section#message .candidate-object { margin-top:5mm; display: inline-block; text-transform: uppercase; font-family: "CalibriBold"; color: #f07e04; font-size: 12pt; font-weight: 500; line-height: 1rem; } section#message .candidate-quote { margin-top:5mm; display: inline-block; font-size: 10pt; line-height: 1rem; color: #666; position: relative; } section#message .candidate-quote::before { content: "“"; font-size:7.5rem; font-family: Calibri; position: absolute; top: 20px; left: -70px; line-height: 0.8; } section#message .candidate-quote::after { content: "”"; font-family: Calibri; font-size:7.5rem; position: absolute; top: 20px; right: -70px; line-height: 0.8; } section#myself { padding:10mm; background: #e4e4e4 url("/img/fd-map.jpg") repeat; color: #666; font-size:10pt; position:relative; } section#myself .title { text-transform: uppercase; display:block; color: #4d16bd; font-size:0.9rem; margin-bottom:.4rem; margin-top:.5rem; font-weight:bold; } section#myself .title-small { font-size:.75rem; margin-bottom:.5rem; margin-top:.5rem; } section#myself ul { list-style:none; padding:0; margin:0; } section#myself .dot { margin-right:.5rem; margin-bottom:5px; display:inline-block; } section#myself .dot::before { content: ''; display: inline-block; width: 0.8rem; height: 0.8rem; padding: .2rem; background: #666; border: #e3e3e3 solid 2px; border-radius: 1rem; -moz-box-shadow: 0px 0px 0px 2px #666; -webkit-box-shadow: 0px 0px 0px 2px #666; -o-box-shadow: 0px 0px 0px 2px #666; box-shadow: 0px 0px 0px 2px #666; margin-right: .5rem; vertical-align: middle; } section#myself .dot::after { content: ""; display: inline-block; width: 1rem; height: 1px; background: #666; vertical-align: middle; } section#myself p { padding:0; margin:0; } section#lookup { padding:10mm; page-break-before: always; background: #e4e4e4 url("/img/fd-map.jpg") repeat; color: #666; font-size:10pt; } section#lookup .title { text-transform: uppercase; display:block; color: orange; font-size:0.9rem; margin-bottom:.4rem; font-weight:bold; margin-top:.5rem; } section#lookup .title-small { font-size:.75rem; margin-bottom:0rem; margin-top:0rem; } section#myself, section#lookup { position:relative; top:30px; } section#myself::before, section#lookup::before { width: 150px; height: 150px; background: url("/img/orange-details.png") no-repeat; background-size: contain; right:0; position: absolute; z-index: 5; top: -30px; content:''; display:block; } section#availability { position:relative; top:5mm; /*clear:both;*/ background: #f49904; background: -moz-linear-gradient(-45deg, #f49904 0%, #ed6e08 100%); background: -webkit-linear-gradient(-45deg, #f49904 0%,#ed6e08 100%); background: linear-gradient(135deg, #f49904 0%,#ed6e08 100%); color: #fff; padding: 5mm; font-size:11pt; } section#availability p{ margin:0; } section#availability .title { text-transform: uppercase; display:block; font-size:14pt; font-weight:bold; } /*section#availability .title::before{ font-family: 'icomoon'; content: "\e908"; font-size: 30px; position:relative; top:5px; margin-right:10px; }*/ section#lookup .note-1::before { } section#lookup ul { list-style:none; padding:0; margin:0; } section#lookup .note { position: relative; letter-spacing: 4px; display: inline-block; top: 3px; } section#lookup .note::before { font-family: 'icomoon'; content: ""; color: orange; font-size: 18px; position: absolute; top: 0px; left: 0; } section#lookup .note-1::before { content: "\e908"; } section#lookup .note-2::before { content: "\e908 \e908"; } section#lookup .note-3::before { content: "\e908 \e908 \e908"; } section#lookup .note::after { font-family: 'icomoon'; content: "\e908 \e908 \e908"; font-size: 18px; color: gray; } section#lookup .highlight { font-weight:bold; text-transform:uppercase; } section#environment{ page-break-before: always; padding:10mm; background: #4d16bd; color: #fff; font-size:10pt; position:relative; } section#environment .title { text-transform: uppercase; display:block; color: #fff; font-size:0.9rem; margin-bottom:.4rem; margin-top:.5rem; font-weight:bold; } section#environment ul { list-style:none; padding:0; margin:0; } section#environment .dot { margin-right:.5rem; margin-bottom:5px; display:inline-block; } section#environment .dot::before { content: ''; display: inline-block; width: 0.8rem; height: 0.8rem; padding: .2rem; background: #fff; border: #4d16bd solid 2px; border-radius: 1rem; -moz-box-shadow: 0px 0px 0px 2px #fff; -webkit-box-shadow: 0px 0px 0px 2px #fff; -o-box-shadow: 0px 0px 0px 2px #fff; box-shadow: 0px 0px 0px 2px #fff; margin-right: .5rem; vertical-align: middle; } section#environment .dot::after { content: ""; display: inline-block; width: 1rem; height: 1px; background: #fff; vertical-align: middle; } section#location{ padding-top:20pt; } section#location .title{ display: block; font-family: 'CalibriBold'; font-weight:bold; font-size: 18px; color: #4d16bd; text-transform:uppercase; } section#location dt{ font-size:13pt; color: #666; margin-bottom: 8px; font-weight: normal; } section#location dd{ display: inline-block; margin-bottom: 2pt; background: #666; color: #fff; padding: 8pt; max-width: 400px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; font-size:10pt; } section#location dd.payment{ font-size:14pt; font-weight:bold; } section#recruiter-information{ font-size:10pt; color:#666; } section#recruiter-information .box{ border:#ddd solid 1px; padding:10pt; } section#recruiter-information .title{ display: block; font-family: 'CalibriBold'; font-weight:bold; font-size: 18px; color: #4d16bd; text-transform:uppercase; } section#recruiter-information .marginBottom{ padding-bottom:15px; margin-bottom:15px; border-bottom:#ddd solid 1px; } #profil-recruiter{ width:100px; height:100px; margin-bottom:15px; border-radius:100px; } </style> <main role="main"> <section id="header"> <img src="/img/logo-vitamines.png" width="100" /> <p>Le site de rencontres pour l'emploi <strong>Vitaminez-vous !</strong></p> </section> <section id="profile" style="background-image:url(/uploads/img/2323b800b6c5c9606b3e5550e0658fb29eeef039.jpeg)"> <div class="profile-layer"> <div class="profile-content"> <span class="firstname">Gestionnaire comptable régie locative</span> <span class="temper">Des chiffres et des lettres</span> <span class="is-recruited">REF. : ME-89007</span> <span class="description"> Elodie de MEDEF Isère </span> </div> </div> </section> <section id="message"> <header>le message <span class="candidate"> d'Elodie de MEDEF Isère</span></header> <span class="candidate-quote">Vous aimez les chiffres, savez jongler avec les données et votre rigueur n’a d’égal que votre bonne humeur et vos capacités à être à l’écoute ... Je suis Elodie et je fais le lien entre vous et l&#039;entreprise , vous pouvez compter sur moi, envoyez moi votre message sur le site ou sur mon mail: ebriday.ip2i@medef-isere.com ! A très vite</span> </section> <section id="tabs"> <section id="myself"> <div class="title">Environnement professionnel</div> <ul> <li><span class="dot"><span></span></span>Au bureau</li> <li><span class="dot"><span></span></span>En équipe</li> <li><span class="dot"><span></span></span>Echanger avec les clients, les fournisseurs c&#039;est vraiment important</li> <li><span class="dot"><span></span></span>De jour</li> <li><span class="dot"><span></span></span>Missions variées, j&#039;adore</li> </ul> <div class="title">3 dates marquantes</div> <p>01/01/2000, début de la mission Mode d&#039;Emploi</p> <p>01/04/2016, c&#039;est la date de mon intégration au MEDEF Isère</p> <h3 class="title">Et aussi...</h3> Soyons clairs c&#039;est un poste où vous aurez à facturer, codifier, gérer, vous devez donc bien maîtriser les outils comptables et informatiques Idéalement vous avez un BAC+2 ou équivalent comptable </section> <section id="lookup"> <div class="title">Vos compétences</div> <ul> <li>Rééditer <small>des comptes </small></li> <li>Calculer <small>des provisions de charges </small></li> <li>Gérer <small>les cautions et dépôts de garantie </small></li> <li>Répondre <small>aux appels téléphoniques relatifs aux questions comptables </small></li> <li>Traiter <small>des couriers comptables </small></li> </ul> <div class="title">Votre personnalité</div> <ul> <li>Patient</li> <li>Rigoureux</li> <li>Esprit d&#039;équipe</li> <li>À l&#039;écoute</li> <li>Terre à terre</li> </ul> </section> <section id="availability"> <div class="title">Ce poste est vitaminé à 100%</div> <p class="date-dispo">Poste à plein temps<br /> 24/10/2017 </p> </section> <section id="location"> <span class="title">Pour vous vitaminer avec Elodie</span> <dl> <dt>Localisation</dt> <dd><span>66 Boulevard Maréchal Foch, GRENOBLE 38000</span></dd> </dl> <dl> <dt>Secteur d’activité</dt> <dd> <span>Comptabilité</span> </dd> </dl> <dl> <dt>Intitulé de poste</dt> <dd><span>Gestionnaire comptable régie locative H/F</span></dd> </dl> </section> <section id="recruiter-information" class="page-break-before"> <div id="content-recruiter" class="content-recruiter"> <div class="title">Informations sur le recruteur</div> <div class="box"> <div id="profil-recruiter" style="background:#eee url(/uploads/img/cd99347a934841883fa037f8320ec59c0f37248b.jpeg) no-repeat top left; background-size:cover;"></div> <div class="marginBottom text-violet profil-name"> Elodie de MEDEF Isère </div> </div> </div> </section> </section> </main> </body> </html>', array('header-html' => '<!DOCTYPE html><html><head><script> function subst() { var vars={}; var x=document.location.search.substring(1).split('&'); for (var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);} var x=['frompage','topage','page','webpage','section','subsection','subsubsection']; for (var i in x) { var y = document.getElementsByClassName(x[i]); for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; } } </script></head><body style="border:0; margin: 0; max-height:10mm; background:#fff; overflow:hidden; " onload="subst()"> <br /> </body></html> ', 'footer-html' => '<!DOCTYPE html><html><head><script> function subst() { var vars={}; var x=document.location.search.substring(1).split('&'); for (var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);} var x=['frompage','topage','page','webpage','section','subsection','subsubsection']; for (var i in x) { var y = document.getElementsByClassName(x[i]); for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]]; } } </script></head><body style="border:0; max-height:10mm; font-size:8pt; color:#666; padding-bottom:15px; overflow:hidden; " onload="subst()"> <main> <table style="width: 100%;"> <tr> <td>www.lesvitaminesdelemploi.com</td> <td style="text-align:right"> Page <span class="page"></span> sur <span class="topage"></span> </td> </tr> </table> </main> </body></html> '))
    in src/VE/CoreBundle/Controller/OffersController.php at line 293  +
  7. at OffersController ->showOfferPDFAction ('gestionnaire-comptable-regie-locative-me-89007')
  8. at call_user_func_array (array(object(OffersController), 'showOfferPDFAction'), array('gestionnaire-comptable-regie-locative-me-89007'))
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 144  +
  9. at HttpKernel ->handleRaw (object(Request), '1')
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64  +
  10. at HttpKernel ->handle (object(Request), '1', true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69  +
  11. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185  +
  12. at Kernel ->handle (object(Request))
    in web/app.php at line 19  +

Logs  -

Stack Trace (Plain Text)  +