export de rapport mensuel #8

Closed
opened 2022-05-06 09:14:31 +02:00 by lfornerot · 1 comment
Member

Je ne peux pas faire d'export mensuel de ninebadge, et ça devient urgent et impératif. Voici le message d'erreur:

The exit status code '127' says something went wrong:
stderr: "sh: /var/www/html/schedule/scripts/wkhtmltopdf/wkhtmltopdf: No such file or directory
"
stdout: ""
command: /var/www/html/schedule/scripts/wkhtmltopdf/wkhtmltopdf --lowquality '/var/www/html/ninebadge/var/cache/PROD/snappy/knp_snappy6274ca85e42679.96552750.html' '/var/www/html/ninebadge/uploads/Rapport-202205.pdf'.

idem pour l'export CSV , dont voici le message:
Call to a member function getDisplayname() on null
in src/Controller/TallydayController.php (line 827)

        $datas = $em->getRepository($this->entity)->findBy([],["user"=>"ASC","dateof"=>"ASC"]);
        foreach($datas as $data) {
            if($data->getDatestart() || $data->getDateend()) {
                $csv=[
                    utf8_decode($data->getUser()->getDisplayname()),
                    $data->getDatestart()->format("d/m/Y H:i"),
                    ($data->getDateend()?$data->getDateend()->format("d/m/Y H:i"):""),
                    $data->getTimedayformatted(),
                    utf8_decode(($data->getName()?$data->getName():""))

in vendor/symfony/http-kernel/HttpKernel.php -> masterexport (line 157)
in vendor/symfony/http-kernel/HttpKernel.php -> handleRaw (line 79)
in vendor/symfony/http-kernel/Kernel.php -> handle (line 196)
Kernel->handle() in public/index.php (line 25)

Je ne peux pas faire d'export mensuel de ninebadge, et ça devient urgent et impératif. Voici le message d'erreur: The exit status code '127' says something went wrong: stderr: "sh: /var/www/html/schedule/scripts/wkhtmltopdf/wkhtmltopdf: No such file or directory " stdout: "" command: /var/www/html/schedule/scripts/wkhtmltopdf/wkhtmltopdf --lowquality '/var/www/html/ninebadge/var/cache/PROD/snappy/knp_snappy6274ca85e42679.96552750.html' '/var/www/html/ninebadge/uploads/Rapport-202205.pdf'. idem pour l'export CSV , dont voici le message: Call to a member function getDisplayname() on null in src/Controller/TallydayController.php (line 827) $datas = $em->getRepository($this->entity)->findBy([],["user"=>"ASC","dateof"=>"ASC"]); foreach($datas as $data) { if($data->getDatestart() || $data->getDateend()) { $csv=[ utf8_decode($data->getUser()->getDisplayname()), $data->getDatestart()->format("d/m/Y H:i"), ($data->getDateend()?$data->getDateend()->format("d/m/Y H:i"):""), $data->getTimedayformatted(), utf8_decode(($data->getName()?$data->getName():"")) in vendor/symfony/http-kernel/HttpKernel.php -> masterexport (line 157) in vendor/symfony/http-kernel/HttpKernel.php -> handleRaw (line 79) in vendor/symfony/http-kernel/Kernel.php -> handle (line 196) Kernel->handle() in public/index.php (line 25)
Owner

Pb résolu

Pb résolu
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Cadoles/ninebadge#8
No description provided.