Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26608

Ghostscript needs to be installed to import Google Slides with Live Connect

    XMLWordPrintable

    Details

      Description

      When using Live Connect to import a Google Slide document within a Nuxeo repository, the document is created but not the binary (blob missing). In the logs, I had

      Caused by: org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 1 return by command: convert -define registry:temporary-path=#{nuxeo.tmp.dir} -quiet -strip -thumbnail #{size} -background transparent -gravity center -format png -quality 75 #{inputFilePath}[0] #{outputFilePath}Caused by: org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 1 return by command: convert -define registry:temporary-path=#{nuxeo.tmp.dir} -quiet -strip -thumbnail #{size} -background transparent -gravity center -format png -quality 75 #{inputFilePath}[0] #{outputFilePath}convert: FailedToExecuteCommand `'gs' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r72x72' -dFirstPage=1 -dLastPage=1 '-sOutputFile=/Users/gregorycarlin/Downloads/nuxeo-server-10.10-I20190107_0125-tomcat/tmp/magick-23268tn9MX7mYh6Fg%d' '-f/Users/gregorycarlin/Downloads/nuxeo-server-10.10-I20190107_0125-tomcat/tmp/magick-23268keX3fevcUiIL' '-f/Users/gregorycarlin/Downloads/nuxeo-server-10.10-I20190107_0125-tomcat/tmp/magick-23268PyicoFngHTLT'' (1) @ error/pdf.c/InvokePDFDelegate/290.  convert: no images defined `/Users/gregorycarlin/Downloads/nuxeo-server-10.10-I20190107_0125-tomcat/tmp/nxblob-4588086245032386616.png' @ error/convert.c/ConvertImageCommand/3300. at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.<init>(ExecResult.java:62) ~[nuxeo-platform-commandline-executor-10.10-I20190107_0125.jar:?] at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:82) ~[nuxeo-platform-commandline-executor-10.10-I20190107_0125.jar:?] at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:173) ~[nuxeo-platform-commandline-executor-10.10-I20190107_0125.jar:?] at org.nuxeo.ecm.platform.thumbnail.converter.ThumbnailDocumentConverter.convert(ThumbnailDocumentConverter.java:81) ~[nuxeo-thumbnail-10.10-I20190107_0125.jar:?]
      

      After installing Ghostscript, I can upload my Google Slide document

      Expected behavior: Ghostscript shouldn't block the document upload. It should prevent the user from performing full text search only

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gcarlin Gregory Carlin
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: