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_snappy6605d88ca27fb5.99644295.html' --header-html '/tmp/knp_snappy6605d88ca28152.50907599.html' '/tmp/knp_snappy6605d88ca27aa8.97165577.html' '/tmp/knp_snappy6605d88ca27d77.61822086.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_snappy6605d88ca27fb5.99644295.html' --header-html '/tmp/knp_snappy6605d88ca28152.50907599.html' '/tmp/knp_snappy6605d88ca27aa8.97165577.html' '/tmp/knp_snappy6605d88ca27d77.61822086.pdf'')
    in vendor/knplabs/knp-snappy/src/Knp/Snappy/AbstractGenerator.php at line 177  +
  3. at AbstractGenerator ->generate (array('/tmp/knp_snappy6605d88ca27aa8.97165577.html'), '/tmp/knp_snappy6605d88ca27d77.61822086.pdf', array('lowquality' => true, 'footer-html' => '/tmp/knp_snappy6605d88ca27fb5.99644295.html', 'header-html' => '/tmp/knp_snappy6605d88ca28152.50907599.html'), false)
    in vendor/knplabs/knp-snappy/src/Knp/Snappy/Pdf.php at line 63  +
  4. at Pdf ->generate (array('/tmp/knp_snappy6605d88ca27aa8.97165577.html'), '/tmp/knp_snappy6605d88ca27d77.61822086.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_snappy6605d88ca27aa8.97165577.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; } @page{ border:red solid 1px; } .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: 50%; 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; } 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:8mm; 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:0; 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; } </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/1a211f4934fdbd8f67bb83fcc38a91faa60ef2cb.jpeg)"> <div class="profile-layer"> <div class="profile-content"> <span class="firstname">Sorina</span> <span class="temper">FORTE</span> <span class="description">Je suis organisée. J&#039;apporte du réconfort et la force d&#039;aller jusqu&#039;au bout de mon travail.</span> </div> </div> </section> <section id="message"> <header>Le message <span class="candidate">de Sorina</span></header> <span class="candidate-object">Mon objet : POMME,<br />J&#039;aime les pommes. Mon fils adore la chanson &quot;pommes de reinette et pomme d&#039;api&quot;</span> <span class="candidate-quote">Je suis organisée. Je respecte mes engagements. Je m&#039;adapte facilement à l&#039;environnement du travail. Vous ne serez pas déçu par ma candidature !</span> </section> <section id="tabs"> <section id="myself"> <span class="title">Mes valeurs, ma personnalité</span> <ul> <li><i class="dot"></i> Communicative </li> <li><i class="dot"></i> Joyeuse </li> <li><i class="dot"></i> Optimiste </li> <li><i class="dot"></i> Organisée </li> <li><i class="dot"></i> Souriante </li> </ul> <span class="title title-small">Une journée avec moi</span> <p>C&#039;est être écouté , savoir créer un binôme, être à l&#039;écoute, être organisé</p> <span class="title title-small">En entreprise, je suis</span> <p>Mario kart : le boulot c’est le boulot ! je suis à mon poste et à ma tâche , mais une fois la porte de l’entreprise passée, j&#039;ai une vie, et oui et elle est magique !</p> <span class="title">3 dates marquantes</span> <span class="date">08/04/2015 : arrivée en France</span> <span class="date">06/11/2015 : le décès de mon père</span> <span class="date">22/02/2016 : la naissance de mon fils</span> <span class="title">Et aussi...</span> Je souhaite avoir mes mercredis. J&#039;aime travailler en équipe et aussi toute seule. </section> <section id="lookup"> <span class="title">Poste recherché</span> <ul> <li> auxiliaire de puériculture, Agent d&#039;entretien, Agent de police </li> <li> Sécurité Social Services animation Administratif </li> </ul> <span class="title">Mes compétences</span> <ul> <li> <span class="note-3 note"></span> <span class="highlight">Raconter</span> <small>des histoires aux enfants</small> </li> <li> <span class="note-3 note"></span> <span class="highlight">Changer</span> <small>les couches des bébés</small> </li> <li> <span class="note-3 note"></span> <span class="highlight">Faire</span> <small>des animations différentes avec les enfants</small> </li> </ul> <span class="title">Outils informatiques</span> <ul> <li> <span class="note-3 note"></span> <span class="highlight">Internet</span> </li> <li> <span class="note-2 note"></span> <span class="highlight">Word</span> </li> </ul> <span class="title">Langues</span> <ul> <li> <span class="note-3 note"></span> <span class="highlight">Roumain</span> </li> <li> <span class="note-3 note"></span> <span class="highlight">Moldave</span> </li> <li> <span class="note-3 note"></span> <span class="highlight">Russe</span> </li> <li> <span class="note-2 note"></span> <span class="highlight">Italien</span> </li> <li> <span class="note-2 note"></span> <span class="highlight">Français</span> </li> </ul> <span class="title">J'aimerai apprendre</span> <ul> <li> <span class="highlight">Apprendre</span> <small>à parler Anglais</small> </li> <li> <span class="highlight">Perfectionner</span> <small>maitrise de l&#039;informatique</small> </li> <li> <span class="highlight">Perfectionner</span> <small>la langue française</small> </li> </ul> </section> </section> <section id="availability"> <span class="title">Je suis un profil vitaminé à 80%</span> <p class="date-dispo">Disponible à trois quart du temps, à partir du 27/11/2018</p> </section> <section id="environment"> <span class="title">L'environnement professionnel souhaité par Sorina</span> <ul> <li><span class="dot"><span></span></span>Missions variées, j&#039;adore</li> <li><span class="dot"><span></span></span>Gestion des enfants? on en parle ensemble</li> <li><span class="dot"><span></span></span>De jour</li> <li><span class="dot"><span></span></span>En solo</li> <li><span class="dot"><span></span></span>En équipe</li> <li><span class="dot"><span></span></span>En mouvement</li> <li><span class="dot"><span></span></span>A l’aise avec un ordinateur</li> </ul> </section> <section id="location"> <span class="title">Pour vous vitaminer avec Sorina</span> <dl> <dt>Localisation</dt> <dd><span>J’habite à LE PUY EN VELAY et je recherche un travail à max 15 min de chez moi . </span> <span> Je recherche un poste près de : Le Puy-en-Velay. </span> </dd> </dl> <dl> <dt>Rémunération</dt> <dd class="payment"> <span> 1480€</span> </dd> </dl> </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/CandidatesController.php at line 115  +
  7. at CandidatesController ->showCandidatePDFAction ('sorina')
  8. at call_user_func_array (array(object(CandidatesController), 'showCandidatePDFAction'), array('sorina'))
    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)  +