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_snappy66068922bfe106.45224916.html' --header-html '/tmp/knp_snappy66068922bfe292.79657975.html' '/tmp/knp_snappy66068922bfdc38.14245649.html' '/tmp/knp_snappy66068922bfdf03.36412078.pdf'.
500 Internal Server Error - RuntimeException
Stack Trace
-
in vendor/knplabs/knp-snappy/src/Knp/Snappy/AbstractGenerator.php at line 378
protected function checkProcessStatus($status, $stdout, $stderr, $command)
{
if (0 !== $status and '' !== $stderr) {
throw new \RuntimeException(sprintf(
'The exit status code \'%s\' says something went wrong:' . "\n"
. 'stderr: "%s"' . "\n"
. 'stdout: "%s"' . "\n"
-
at
AbstractGenerator
->checkProcessStatus
('127', '', 'sh: 1: /usr/local/bin/wkhtmltopdf: not found
', '/usr/local/bin/wkhtmltopdf --lowquality --footer-html '/tmp/knp_snappy66068922bfe106.45224916.html' --header-html '/tmp/knp_snappy66068922bfe292.79657975.html' '/tmp/knp_snappy66068922bfdc38.14245649.html' '/tmp/knp_snappy66068922bfdf03.36412078.pdf'')
in vendor/knplabs/knp-snappy/src/Knp/Snappy/AbstractGenerator.php at line 177 -
at
AbstractGenerator
->generate
(array('/tmp/knp_snappy66068922bfdc38.14245649.html'), '/tmp/knp_snappy66068922bfdf03.36412078.pdf', array('lowquality' => true, 'footer-html' => '/tmp/knp_snappy66068922bfe106.45224916.html', 'header-html' => '/tmp/knp_snappy66068922bfe292.79657975.html'), false)
in vendor/knplabs/knp-snappy/src/Knp/Snappy/Pdf.php at line 63 -
at
Pdf
->generate
(array('/tmp/knp_snappy66068922bfdc38.14245649.html'), '/tmp/knp_snappy66068922bfdf03.36412078.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 -
at
AbstractGenerator
->getOutput
(array('/tmp/knp_snappy66068922bfdc38.14245649.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 -
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/5194cad87a9d1577965633559e88d7c854961435.jpeg)">
<div class="profile-layer">
<div class="profile-content">
<span class="firstname">VENDEUR EN BOULANGERIE</span>
<span class="temper">"Le pain gonfle en prenant la forme de la paume du boulanger. Le porter à sa bouche, c’est comme serrer la main de qui l’a pétri. "</span>
<span class="is-recruited">REF. : ME-38084</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">Si vous voulez vendre des pains, tomber dans les tartes aux pommes et apporter un service aux petits oignons à vos clients cette boulangerie n’attends plus que vous.
Dans une équipe jeune et souriante vous pourrez vous faire plaisir …mais attention au chocolat ! Vous voulez postuler ou échangez avec moi pour le plus d'informations c'est hyper simple: 2 possibilités : 1 message sur les Vitaminés de l'Emploi ou ebriday.ip2i@medef-isere.com ! A très vite - Elodie</span>
</section>
<section id="tabs">
<section id="myself">
<div class="title">Environnement professionnel</div>
<ul>
<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>Echanger avec les clients, les fournisseurs c'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'adore</li>
</ul>
<div class="title">3 dates marquantes</div>
<p>01/01/2000, début de la mission Mode d'Emploi</p>
<p>01/04/2016, c'est la date de mon intégration au MEDEF Isère</p>
<h3 class="title">Et aussi...</h3>
Vous avez des compétences en boulangerie, en techniques de vente, vous aimez le contact client et avez un esprit commerçant – vous êtes souriant – une bonne écoute
Vous souhaitez vous investir dans un projet à long terme contactez nous !
Des petits + sur le poste :
Ouverture de la boutique 6h 20h – travail 7h/jour
35H
6h 20h // Du Lundi au Dimanche matin
HORAIRE EN CONTINUE
Le poste est à Meylan
de smic horaire + prime sur Objectif + TR
</section>
<section id="lookup">
<div class="title">Vos compétences</div>
<ul>
<li>Servir <small>des produits de qualité </small></li>
<li>Vendre <small>les produits de la boulangerie </small></li>
<li>Conseiller <small>et orienter le client pour des produits complémentaires – ventes additionnelles </small></li>
<li>Promouvoir <small>les menus, proposer le pain </small></li>
<li>Faire <small>réassort et de la présentation des vitrines </small></li>
<li>Préparer <small>les commandes des clients </small></li>
<li>Intervenir <small>sur les cuissons de certains produits </small></li>
</ul>
<div class="title">Votre personnalité</div>
<ul>
<li>Accueillant</li>
<li>Organisé</li>
<li>Souriant</li>
<li>À l'écoute</li>
<li>Bon contact</li>
<li>Le nez dans la farine</li>
<li>Je suis à l'aise dans la posture debout</li>
<li>Bon relationnel client</li>
</ul>
</section>
<section id="availability">
<div class="title">Ce poste est vitaminé à 100%</div>
<p class="date-dispo">Poste à plein temps<br />
31/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>Agroalimentaire </span>
<span>Commerce, distribution</span>
<span>Vente</span>
</dd>
</dl>
<dl>
<dt>Intitulé de poste</dt>
<dd><span>VENDEUR EN BOULANGERIE 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 - at OffersController ->showOfferPDFAction ('vendeur-en-boulangerie-me-38084')
-
at
call_user_func_array
(array(object(OffersController), 'showOfferPDFAction'), array('vendeur-en-boulangerie-me-38084'))
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 144 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64 -
at
HttpKernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 19