<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CR2 (RAW) conversion not working in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318572#M5573</link>
    <description>&lt;P&gt;Just a small update, my local docker instance (where it's working) is based on nuxeo/nuxeo:discover-ft&lt;/P&gt;
&lt;P&gt;/mm&lt;/P&gt;</description>
    <pubDate>Thu, 21 May 2020 16:00:41 GMT</pubDate>
    <dc:creator>michal_m</dc:creator>
    <dc:date>2020-05-21T16:00:41Z</dc:date>
    <item>
      <title>CR2 (RAW) conversion not working</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318571#M5572</link>
      <description>&lt;P&gt;Dear Experts!&lt;/P&gt;
&lt;P&gt;I'm having issues with handling CR2 (Canon RAW) images when running application in a cloud deployment. Once such a file is uploaded, there's no thumbnail created. I have initially thought that would be a missing converter, but it seems to be configured properly OOTB. Moreover, thumbnails are nicely created on my local Nuxeo Docker image.&lt;/P&gt;
&lt;P&gt;Server log tells the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2020-05-21T14:25:12,855 ERROR [Nuxeo-Work-pictureViewsGeneration-1:default:cc762010-6408-43a5-b054-2c40b316ded3:file:content:pictureView] [org.nuxeo.ecm.platform.picture.ImagingComponent] Failed to get ImageInfo for file sample1.cr2
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.q16: FailedToExecuteCommand `'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 '--output=/var/lib/nuxeo/server/tmp/magick-16966YY1LeJyZzWHm.png' '/var/lib/nuxeo/server/tmp/magick-16966KaFaQ0aNyGgE'' (-1) @ error/delegate.c/ExternalDelegateCommand/462.
  identify-im6.q16: delegate failed `'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 '--output=%u.png' '%i'' @ error/delegate.c/InvokeDelegate/1919.
  CR2 8736 5856 16 sRGB
	at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.&amp;lt;init&amp;gt;(ExecResult.java:62) ~[nuxeo-platform-commandline-executor-10.10.jar:?]
	at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:82) ~[nuxeo-platform-commandline-executor-10.10.jar:?]
	at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:173) ~[nuxeo-platform-commandline-executor-10.10.jar:?]
	at org.nuxeo.ecm.platform.picture.magick.utils.ImageIdentifier.getIdentifyResult(ImageIdentifier.java:60) ~[nuxeo-platform-imaging-core-10.10-HF21.jar:?]
	at org.nuxeo.ecm.platform.picture.magick.utils.ImageIdentifier.getInfo(ImageIdentifier.java:45) ~[nuxeo-platform-imaging-core-10.10-HF21.jar:?]
	at org.nuxeo.ecm.platform.picture.ImagingComponent.getImageInfo(ImagingComponent.java:182) [nuxeo-platform-imaging-core-10.10-HF21.jar:?]
	at org.nuxeo.ecm.platform.picture.api.adapters.AbstractPictureAdapter.getImageInfo(AbstractPictureAdapter.java:375) [nuxeo-platform-imaging-api-10.10.jar:?]
	at org.nuxeo.ecm.platform.picture.api.adapters.DefaultPictureAdapter.fillPictureViews(DefaultPictureAdapter.java:85) [nuxeo-platform-imaging-api-10.10.jar:?]
	at org.nuxeo.ecm.platform.picture.PictureViewsGenerationWork.work(PictureViewsGenerationWork.java:120) [nuxeo-platform-imaging-core-10.10-HF21.jar:?]
	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:493) [nuxeo-core-event-10.10-HF23.jar:?]
	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:383) [nuxeo-core-event-10.10-HF23.jar:?]
	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57) [nuxeo-core-event-10.10-HF23.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;it may be that the ufraw-batch is missing, but I can't access the console there, otherwise troubleshooting would be easier. Before submitting an official ticket I was hoping somebody would have had similar issues and can suggest something.&lt;/P&gt;
&lt;P&gt;I used a publically available CR2 sample from here: &lt;A href="https://filesamples.com/samples/image/cr2/sample1.cr2" target="test_blank"&gt;https://filesamples.com/samples/image/cr2/sample1.cr2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;Sincerely
mm&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 15:03:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318571#M5572</guid>
      <dc:creator>michal_m</dc:creator>
      <dc:date>2020-05-21T15:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: CR2 (RAW) conversion not working</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318572#M5573</link>
      <description>&lt;P&gt;Just a small update, my local docker instance (where it's working) is based on nuxeo/nuxeo:discover-ft&lt;/P&gt;
&lt;P&gt;/mm&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 16:00:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318572#M5573</guid>
      <dc:creator>michal_m</dc:creator>
      <dc:date>2020-05-21T16:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: CR2 (RAW) conversion not working</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318573#M5574</link>
      <description>&lt;P&gt;Seeing that the error comes from https&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 20:17:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318573#M5574</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2020-05-21T20:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: CR2 (RAW) conversion not working</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318574#M5575</link>
      <description>&lt;P&gt;The issue is in the specific case where the server is ubuntu bionic using ufraw package with version 0.22-3.1~build0.18.04.1. With xenial distribution and version 0.20-3build1, it works fine.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 16:35:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318574#M5575</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2020-05-22T16:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: CR2 (RAW) conversion not working</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318575#M5576</link>
      <description>&lt;P&gt;Fixed with the following command lines:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;dpkg -r --force-depends ufraw
dpkg -r --force-depends ufraw-batchwget &lt;A href="http://cz.archive.ubuntu.com/ubuntu/pool/universe/u/ufraw/ufraw_0.20-3build1_amd64.deb" target="test_blank"&gt;http://cz.archive.ubuntu.com/ubuntu/pool/universe/u/ufraw/ufraw_0.20-3build1_amd64.deb&lt;/A&gt;
wget &lt;A href="http://cz.archive.ubuntu.com/ubuntu/pool/universe/u/ufraw/ufraw-batch_0.20-3build1_amd64.deb" target="test_blank"&gt;http://cz.archive.ubuntu.com/ubuntu/pool/universe/u/ufraw/ufraw-batch_0.20-3build1_amd64.deb&lt;/A&gt;
wget &lt;A href="http://security.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb" target="test_blank"&gt;http://security.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb&lt;/A&gt;
wget &lt;A href="http://ftp.br.debian.org/debian/pool/main/l/lensfun/liblensfun-data_0.2.8-2_all.deb" target="test_blank"&gt;http://ftp.br.debian.org/debian/pool/main/l/lensfun/liblensfun-data_0.2.8-2_all.deb&lt;/A&gt;
sudo dpkg -i --force-depends liblensfun-data_0.2.8-2_all.deb
sudo dpkg -i --force-depends libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
sudo dpkg -i --force-depends ufraw-batch_0.20-3build1_amd64.deb
sudo dpkg -i --force-depends ufraw_0.20-3build1_amd64.deb
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and check status with &lt;CODE&gt;apt-get -V -s install ufraw&lt;/CODE&gt; . If there's a line with `Depends: XXXX (&amp;gt;= X.X.X) but it is not installable, ensure the  related  package is installed&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 18:28:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cr2-raw-conversion-not-working/m-p/318575#M5576</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2020-05-22T18:28:47Z</dc:date>
    </item>
  </channel>
</rss>

