Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-608

ImageInfo errors when sync'ing several pictures at the same time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.608
    • Fix Version/s: 2.1.623
    • Component/s: Synchronizer

      Description

      I have trouble importing 4 images (jpeg ~2Mb each). It works well if I create them one by one. Or if upload them in the UI with DnD but I get errors on ImageInfo when importing all of them with Drive.
      The consequence is that I don't have the conversions of the pictures (and so no preview).
      The error in the log is:

      2016-06-13 20:08:39,387 ERROR [Nuxeo-Work-pictureViewsGeneration-1] [org.nuxeo.ecm.platform.picture.ImagingComponent] Failed to get ImageInfo for file 9759_2_Chicago.jpg
      org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 1 return by command: identify -define registry:temporary-path=#{nuxeo.tmp.dir} -quiet -ping -format '%m %w %h %z %[colorspace]' #{inputFilePath}[0]
      identify.im6: no decode delegate for this image format `/var/lib/nuxeo/data/binaries/data/d4/1d/d41d8cd98f00b204e9800998ecf8427e' @ error/constitute.c/ReadImage/544.
      	at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.<init>(ExecResult.java:62)
      	at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:83)
      	at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:173)
      	at org.nuxeo.ecm.platform.picture.magick.utils.ImageIdentifier.getIdentifyResult(ImageIdentifier.java:60)
      	at org.nuxeo.ecm.platform.picture.magick.utils.ImageIdentifier.getInfo(ImageIdentifier.java:45)
      	at org.nuxeo.ecm.platform.picture.ImagingComponent.getImageInfo(ImagingComponent.java:177)
      	at org.nuxeo.ecm.platform.picture.api.adapters.AbstractPictureAdapter.getImageInfo(AbstractPictureAdapter.java:382)
      	at org.nuxeo.ecm.platform.picture.api.adapters.DefaultPictureAdapter.fillPictureViews(DefaultPictureAdapter.java:97)
      	at org.nuxeo.ecm.platform.picture.PictureViewsGenerationWork.work(PictureViewsGenerationWork.java:92)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:416)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:377)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:338)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:54)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      Setup is : Local Linux VM running 8.2 and PgSQL. Drop all the pictures at once in the synchronized folder.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: