The exit status code '137' says something went wrong
rooniieesss opened this issue · 1 comments
I got this error when try load data more than 25k rows
{"The exit status code '137' says something went wrong:\nstderr: \"QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '\/tmp\/runtime-root'\nLoading page (1\/2)\n[> ] 0%\r[======> ] 10%\r[=======> ] 13%\r[=========> ] 15%\r[==========> ] 18%\r[============> ] 21%\r[==============> ] 24%\r[===============> ] 26%\r[================> ] 28%\r[===================> ] 32%\r[====================> ] 34%\r[======================> ] 37%\r[=======================> ] 39%\r[=========================> ] 43%\rKilled\n\"\nstdout: \"\"\ncommand: \/usr\/bin\/wkhtmltopdf --lowquality --orientation 'Landscape' '\/tmp\/knp_snappy627fa770628496.09613334.html' '\/var\/www\/html\/public\/pdf\/report.pdf'.","Field":"\/var\/www\/html\/vendor\/knplabs\/knp-snappy\/src\/Knp\/Snappy\/AbstractGenerator.php"}
Env
- OS
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
- Relevant Code
- config/snappy.php
'pdf' => [ 'enabled' => true, 'binary' => '/usr/local/bin/wkhtmltopdf', 'timeout' => 600, 'options' => [], 'env' => [], ],
- version wkhtmtltopdf
wkhtmltopdf 0.12.5
- Additional Info
- "barryvdh/laravel-snappy": "^0.4.8",
- "laravel/framework": "^6.0",
Anyone has know to solve the problem ??
Thanks
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/KnpLabs/snappy instead. When having doubts, please try to reproduce the issue with just snappy.
If you believe this is an actual issue with the latest version of laravel-snappy, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.