Article - CS54189

Unable to create document with pdf content with error "Executing Image Magick command Convert" in FlexPLM

Modified: 21-Oct-2025   


Applies To

  • FlexPLM 9.2 M010 to 13.0

Description

  • Failed to create a document with pdf content with below error:
Executing ImageMagick command Convert
  • More Error Message:
ERROR>Magick: `%s' (%d) "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "
-sDEVICE=pamcmyk32" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -dUseCIEColor -dFirstPage=1 -dLastPage=1 "-sOutputFile=C:/Users/ADMINI~1/AppData/Local/Tem
p/magick-rFxY6kVO--0000001" "-fC:/Users/ADMINI~1/AppData/Local/Temp/magick-CXPFIPWG" "-fC:/Users/ADMINI~1/AppData/Local/Temp/magick-9EBaki6D" @ error/utility.c/SystemCommand/2094.
ERROR>Magick: Postscript delegate failed `C:\ptc\Windchill_9.1\Windchill\lcsdocuments\TOEIC_LR_sample_tests1.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/664.
ERROR>Magick: missing an image filename `C:\ptc\Windchill_9.1\Windchill\lcsdocuments\TOEIC_LR_sample_tests1.png,gif,bmp,jpg,tif,tiff' @ error/convert.c/ConvertImageCommand/3015.(com.lcs.wc.resource.DocumentRB/imageMagickErr1_MSG) com.lcs.wc.util.LCSException: Error Executing ImageMagick command 'convert'
at com.lcs.wc.document.LCSDocumentLogic.generateViewable(LCSDocumentLogic.java:1560)
at com.lcs.wc.document.LCSDocumentLogic.associateSecondaryContents(LCSDocumentLogic.java:1903)
at com.lcs.wc.document.LCSDocumentLogic.save(LCSDocumentLogic.java:615)
at com.lcs.wc.document.StandardLCSDocumentService.save(StandardLCSDocumentService.java:290)
at com.lcs.wc.document.LCSDocumentServiceFwd.save(LCSDocumentServiceFwd.java:271)
  • Error Executing Image Magick command 'convert' while uploading PDF file as a primary document content
  • More Error Message:
Tue 10/15/13 10:08:39: Thread-24: OUTPUT>Current allocation mode is local
Tue 10/15/13 10:08:39: Thread-23: ERROR>GPL Ghostscript 9.05: Unrecoverable error, exit code 1
Tue 10/15/13 10:08:39: Thread-24: OUTPUT>Last OS error: No such file or directory
Tue 10/15/13 10:08:39: Thread-23: ERROR>convert.exe: `%s': %s "E:/gs/bin/gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -dFirstPage=1 -dLastPage=1 "-sOutputFile=C:/WINDOWS/TEMP/magick-3Wc_9n5y-12087024" "-fC:/WINDOWS/TEMP/magick-cPAwc08A" "-fC:/WINDOWS/TEMP/magick-7L3uHq56" @ error/pdf.c/InvokePDFDelegate/198.
Tue 10/15/13 10:08:39: Thread-23: ERROR>convert.exe: Postscript delegate failed `E:\ptc\Windchill_9.1\Windchill\lcsdocuments\S46283.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/663.
Tue 10/15/13 10:08:39: Thread-23: ERROR>convert.exe: missing an image filename `E:\ptc\Windchill_9.1\Windchill\codebase\images\S46283.png' @ error/convert.c/ConvertImageCommand/3048.
Tue 10/15/13 10:08:39: RMI TCP Connection(248)-172.26.81.238: (com.lcs.wc.resource.DocumentRB/imageMagickErr1_MSG) com.lcs.wc.util.LCSException: Error Executing ImageMagick command 'convert' 
Tue 10/15/13 10:08:39: RMI TCP Connection(248)-172.26.81.238: at com.lcs.wc.document.LCSDocumentLogic.generateThumbnail(LCSDocumentLogic.java:1867)
Tue 10/15/13 10:08:39: RMI TCP Connection(248)-172.26.81.238: at com.lcs.wc.document.LCSDocumentLogic.createThumbnailSynchronous(LCSDocumentLogic.java:1258)
Tue 10/15/13 10:08:39: RMI TCP Connection(248)-172.26.81.238: at com.lcs.wc.document.LCSDocumentLogic.associateContent(LCSDocumentLogic.java:1004)
Tue 10/15/13 10:08:39: RMI TCP Connection(248)-172.26.81.238: at com.lcs.wc.document.LCSDocumentLogic.associateContent(LCSDocumentLogic.java:934)
Tue 10/15/13 10:08:39: RMI TCP Connection(248)-172.26.81.238: at com.lcs.wc.document.LCSDocumentLogic.save(LCSDocumentLogic.java:731)
Tue 10/15/13 10:08:39: RMI TCP Connection(248)-172.26.81.238: at com.lcs.wc.document.LCSDocumentLogic.save(LCSDocumentLogic.java:709)
Tue 10/15/13 10:08:39: RMI TCP Connection(248)-172.26.81.238: at com.lcs.wc.document.LCSDocumentLogic.save(LCSDocumentLogic.java:629)
Tue 10/15/13 10:08:39: RMI TCP Connection(248)-172.26.81.238: at com.lcs.wc.document.StandardLCSDocumentService.save(StandardLCSDocumentService.java:290)
Tue 10/15/13 10:08:39: RMI TCP Connection(248)-172.26.81.238: at com.lcs.wc.document.LCSDocumentServiceFwd.save(LCSDocumentServiceFwd.java:271)
  • Getting "Executing ImageMagick command Convert" when saving Image Page
This is a printer-friendly version of Article 54189 and may be out of date. For the latest version click CS54189