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_snappy6606b28bf274a6.27180115.html' --header-html '/tmp/knp_snappy6606b28bf27639.55019551.html' '/tmp/knp_snappy6606b28bf26f75.01737418.html' '/tmp/knp_snappy6606b28bf272a0.28173051.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_snappy6606b28bf274a6.27180115.html' --header-html '/tmp/knp_snappy6606b28bf27639.55019551.html' '/tmp/knp_snappy6606b28bf26f75.01737418.html' '/tmp/knp_snappy6606b28bf272a0.28173051.pdf'')
    in vendor/knplabs/knp-snappy/src/Knp/Snappy/AbstractGenerator.php at line 177  +
  3. at AbstractGenerator ->generate (array('/tmp/knp_snappy6606b28bf26f75.01737418.html'), '/tmp/knp_snappy6606b28bf272a0.28173051.pdf', array('lowquality' => true, 'footer-html' => '/tmp/knp_snappy6606b28bf274a6.27180115.html', 'header-html' => '/tmp/knp_snappy6606b28bf27639.55019551.html'), false)
    in vendor/knplabs/knp-snappy/src/Knp/Snappy/Pdf.php at line 63  +
  4. at Pdf ->generate (array('/tmp/knp_snappy6606b28bf26f75.01737418.html'), '/tmp/knp_snappy6606b28bf272a0.28173051.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_snappy6606b28bf26f75.01737418.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/fa199b935424ab8b5e9dbaf923e901ae03c52c5b.jpeg)"> <div class="profile-layer"> <div class="profile-content"> <span class="firstname">conducteur de machines</span> <span class="temper">Notre force c&#039;est d&#039;être ensemble, d&#039;être agile face à un marché concurrentiel, un milieu où il faut aller vite, s&#039;adapter , être novateur... Bref , c&#039;est ça notre métier ! .</span> <span class="is-recruited">REF. : SA-87612</span> <span class="description"> Camille de SAINT JEAN </span> </div> </div> </section> <section id="message"> <header>le message <span class="candidate"> de Camille de SAINT JEAN</span></header> <span class="candidate-quote">Vous avez envie d&#039;intégrer une entreprise en pleine croissance, respectueuse, avec beaucoup de projets qui va vite, mais où on est tous unis, et où on avance main dans la main, on vous attend !</span> </section> <section id="tabs"> <section id="myself"> <div class="title">Environnement professionnel</div> <ul> <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>Statique</li> <li><span class="dot"><span></span></span>En mouvement</li> <li><span class="dot"><span></span></span>Formation ( formation complémentaire) : on en parle ensemble</li> <li><span class="dot"><span></span></span>Missions variées, j&#039;adore</li> <li><span class="dot"><span></span></span>Missions routinières, j&#039;aime</li> </ul> <p> A l’aise avec un ordinateur. </p> <div class="title">3 dates marquantes</div> <p>2008/2008 : Rachat de plusieurs sites permettant de diversifier notre production</p> <p>Juin 2017 Changement de notre charte graphique - logo</p> <h3 class="title">Et aussi...</h3> Pas besoin de diplôme, on accepte tout le monde ;-) On se dit tout : Il fait froid dans les ateliers (entre 4 et 8 degrés ) Les bijoux, le maquillage, le vernis, les faux ongles, le téléphone portable…. sont interdits dans l&#039;atelier Ce sont des horaires en décalés : 2X8 une semaine du matin : 5H-13H Une semaine : 13H-21H On a une tenue bien particulière : Charlotte Masque tunique pantalon chaussures de sécurité Salaire : SMIC - prime de paniers - prime d&#039;assiduité - prime de transport - prime d&#039;équipe Plusieurs postes - immédiat </section> <section id="lookup"> <div class="title">Vos compétences</div> <ul> <li>Ranger <small>nettoyer son poste de travail </small></li> <li>Palettiser <small>mettre en carton les barquettes ou sachets de pâtes/quenelles/ravioles/produits traiteurs </small></li> <li>Faire <small>des réglages de machines et de maintenance de 1er niveau </small></li> <li>Réaliser <small>enregistrer informatiquement des contrôles qualité ( toutes les 20mn, ou toutes les heures) </small></li> </ul> <div class="title">Votre personnalité</div> <ul> <li>Communicatif</li> <li>Méthodique</li> <li>Organisé</li> <li>Sympa</li> <li>Rigoureux</li> <li>Ouvert aux autres</li> <li>Adaptable</li> <li>Un peu speed</li> <li>En mouvement</li> </ul> </section> <section id="availability"> <div class="title">Ce poste est vitaminé à 100%</div> <p class="date-dispo">Poste à plein temps<br /> Poste récurrent, nous recrutons plusieurs postes n&#039;hésitez pas ! </p> </section> <section id="location"> <span class="title">Pour vous vitaminer avec Camille</span> <dl> <dt>Localisation</dt> <dd><span>44 AV DES ALLOBROGES, ROMANS 26100</span></dd> </dl> <dl> <dt>Secteur d’activité</dt> <dd> <span>industrie agro-alomentaire</span> </dd> </dl> <dl> <dt>Intitulé de poste</dt> <dd><span>conducteur de machines 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/da13b2e5ef08c1c5093fabc441f5179476a12c1c.jpeg) no-repeat top left; background-size:cover;"></div> <div class="marginBottom text-violet profil-name"> Camille de SAINT JEAN </div> <div class="marginBottom"> <strong>Le plus de mon entreprise pour moi</strong><br /> La complicité entre les salariés </div> <div class="marginBottom"> <strong>La phrase que je dis tout le temps</strong><br /> Force et honneur ! </div> <div class="marginBottom"> <strong>Ma plus belle réussite professionnelle</strong><br /> Emmener 40 salariés avec moi à la course inter-etreprise de Valence </div> <div class="marginBottom"> <strong>Un espace que j’adore dans mon entreprise</strong><br /> La salle de pause - ça nous permet de tous se retrouver, rigoler, partager ensemble et oublier les tracas du boulot </div> <div> <strong>Dans mon entreprise je suis</strong><br /> responsable du Bonheur </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 ('conducteur-de-machines-sa-87612')
  8. at call_user_func_array (array(object(OffersController), 'showOfferPDFAction'), array('conducteur-de-machines-sa-87612'))
    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)  +