zotonic/zotonic — pull request #226 by kaos (2011-10-12 11:40:51+00:00)
Title: Log identify errors.

Sample log when identifying a pdf file on windows, when ghostscript is not found. (yes, the ImageMagick error message is *really* bad).

=INFO REPORT==== 12-Oct-2011::13:22:25 ===
identify of "d:\tmp\zotonic\zp-nonode@nohost-1318.418545.598668[0]" failed:
Magick: `%s' (%d) "C:/Program Files/gs/gs9.04/bin/gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -dFirstPage=1 -dLastPage=1 "-sOutputFile=C:/Users/ANDREA~1/AppData/Local/Temp/magick-kQzanAKf" "-fC:/Users/ANDREA~1/AppData/Local/Temp/magick-u4J4daeD" "-fC:/Users/ANDREA~1/AppData/Local/Temp/magick-y-REbg3K" @ error/utility.c/SystemCommand/2093.
Magick: Postscript delegate failed `d:\tmp\zotonic\zp-nonode@nohost-1318.418545.598668': No such file or directory @ error/pdf.c/ReadPDFImage/645.