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_snappy660693514fb7e0.10539315.html' --header-html '/tmp/knp_snappy660693514fb999.34348609.html' '/tmp/knp_snappy660693514fb199.28172605.html' '/tmp/knp_snappy660693514fb5d0.71726204.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_snappy660693514fb7e0.10539315.html' --header-html '/tmp/knp_snappy660693514fb999.34348609.html' '/tmp/knp_snappy660693514fb199.28172605.html' '/tmp/knp_snappy660693514fb5d0.71726204.pdf'')
    in vendor/knplabs/knp-snappy/src/Knp/Snappy/AbstractGenerator.php at line 177  +
  3. at AbstractGenerator ->generate (array('/tmp/knp_snappy660693514fb199.28172605.html'), '/tmp/knp_snappy660693514fb5d0.71726204.pdf', array('lowquality' => true, 'footer-html' => '/tmp/knp_snappy660693514fb7e0.10539315.html', 'header-html' => '/tmp/knp_snappy660693514fb999.34348609.html'), false)
    in vendor/knplabs/knp-snappy/src/Knp/Snappy/Pdf.php at line 63  +
  4. at Pdf ->generate (array('/tmp/knp_snappy660693514fb199.28172605.html'), '/tmp/knp_snappy660693514fb5d0.71726204.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_snappy660693514fb199.28172605.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/903cfbc1b45ba0aa03021fb7f5deac9bea855354.jpeg)"> <div class="profile-layer"> <div class="profile-content"> <span class="firstname">Responsable QHSE et Amélioration Continue</span> <span class="temper">« Maviflex est dirigée par une personne hors du commun qui donne sa chance à l’humain car aucune porte n’est infranchissable. Si vous avez l’envie et l’énergie, Rejoignez l’aventure Maviflex »</span> <span class="is-recruited">REF. : MA-15489</span> <span class="description"> Virginie de MAVIFLEX </span> </div> </div> </section> <section id="message"> <header>le message <span class="candidate"> de Virginie de MAVIFLEX</span></header> <span class="candidate-quote">De formation QHSE ou QLIO ou diplôme ingénieur spécialisé Avec 1ère expérience Mutuelle Tickets resto Intéressement Participation 13eme mois Horaires flexibles Contrats parentaux possibles pour équilibre pro/perso Bonne humeur Esprit d’équipe Entreprise familiale</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>Sur le terrain</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>Gestion des enfants? on en parle ensemble</li> <li><span class="dot"><span></span></span>Missions variées, j&#039;adore</li> </ul> <p> A l’aise avec un ordinateur. </p> <div class="title">3 dates marquantes</div> <p>1936 : création de l’entreprise</p> <p>2000 : La DG actuelle et son frère reprennent l’entreprise familiale</p> <h3 class="title">Et aussi...</h3> L’industrie vous attire ? Rejoindre une entreprise familiale où le bien-être au travail et l’équilibre vie pro/vie perso ne sont pas que des mots vous intéresse ? Retrouvez une dirigeante hors du commun, des équipes engagées, des missions variées et un vrai challenge d’entreprise pour accompagner la croissance de notre entreprise. Alors si vous vous sentez l’âme d’un super héros de l’HSE : rejoignez Maviflex !  </section> <section id="lookup"> <div class="title">Vos compétences</div> <ul> <li>Sensibiliser <small>Responsable QHSE et Amélioration Continue </small></li> <li>Etre responsable <small>de la garantie le renouvellement des certifications de l’entreprise </small></li> <li>Déployer <small>romouvoir la démarche RSE de l’entreprise </small></li> <li>Créer <small>développer et promouvoir la démarche D’amélioration continue de l’entreprise tout en formant les salariés à l’amélioration continue </small></li> </ul> <div class="title">Votre personnalité</div> <ul> <li>Curieux</li> <li>Diplomate</li> <li>Tenace</li> <li>Adaptabilité</li> <li>Réactif</li> </ul> </section> <section id="availability"> <div class="title">Ce poste est vitaminé à 100%</div> <p class="date-dispo">Poste à plein temps<br /> De suite </p> </section> <section id="location"> <span class="title">Pour vous vitaminer avec Virginie</span> <dl> <dt>Localisation</dt> <dd><span>8-14 rue Vaucanson, Décines Cedex 69150</span></dd> </dl> <dl> <dt>Secteur d’activité</dt> <dd> <span>Métallurgie – portes souples industrielles</span> </dd> </dl> <dl> <dt>Intitulé de poste</dt> <dd><span>Responsable QHSE et Amélioration Continue 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/f01de18786e801a4370d399b89c04a93f9fb4e04.jpeg) no-repeat top left; background-size:cover;"></div> <div class="marginBottom text-violet profil-name"> Virginie de MAVIFLEX </div> <div class="marginBottom"> <strong>Le plus de mon entreprise pour moi</strong><br /> Entreprise familiale / Entreprise en croissance </div> <div class="marginBottom"> <strong>La phrase que je dis tout le temps</strong><br /> Il faut être juste avec tout le monde / On est une grande famille </div> <div class="marginBottom"> <strong>Ma plus belle réussite professionnelle</strong><br /> Avoir été embauché enceinte chez Maviflex / Et aussi ... Quand on me dit merci </div> <div class="marginBottom"> <strong>Un espace que j’adore dans mon entreprise</strong><br /> La production visualisation concrète du produit et aussi ...le réfectoire Lieu de partage, de passage, d’échanges, de rires </div> <div> <strong>Dans mon entreprise je suis</strong><br /> Accompagnatrice de talents </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 ('responsable-qhse-et-amelioration-continue-ma-15489')
  8. at call_user_func_array (array(object(OffersController), 'showOfferPDFAction'), array('responsable-qhse-et-amelioration-continue-ma-15489'))
    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)  +