Symptom
When trying to convert a PDF in Backoffice via ImageMagick in SAP Commerce Cloud. Below exception will be thrown:
| A problem occurred during conversion of commands -resize 1600x1600 with error Error running process for commands </usr/local/bin/convert pdf:/tmp/src8845914243102-testforGermanUmlauts -resize 1600x1600 /tmp/target8845914243102-testforGermanUmlauts>, finished with code: 1\nStd out: \n\n Err out: sh: 1: gs: not found\nconvert: FailedToExecuteCommand `‘gs’ -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 ‘-sDEVICE=pngalpha’ -dTextAlphaBits=4 -dGraphicsAlphaBits=4 ‘-r72x72’ -dPrinted=false ‘-sOutputFile=/tmp/magick-rf4I_3WQr52HSR2Sx9BFU8zwbSw4H5MB%d’ ‘-f/tmp/magick-DMz_eDC0O6Rrg_IYJlJmzABVg5tFaoIs’ ‘-f/tmp/magick-VMSWlqLQjWZfO4n8rjabCfIVlDktjYLT’' (32512) @ error/ghostscript-private.h/ExecuteGhostscriptCommand/74.\nconvert: no images defined `/tmp/target8845914243102-testforGermanUmlauts’ @ error/convert.c/ConvertImageCommand/3354.\n |
Read more...
Environment
SAP Commerce Cloud
Product
SAP Commerce Cloud all versions
Keywords
PDF, conversion, ccv2, hybris, ImageMagick, FailedToExecuteCommand, backoffice, format, commerce, cloud , KBA , CEC-SCC-PLA , Platform , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview