Project

General

Profile

Bug #11806

Couldnt generate noise profile 'gen-profile: 179: local: ./IMG_4169_flat.pdf: bad variable name'

Added by Mateusz Sebas 18 days ago. Updated 6 days ago.

Status:
Fixed
Priority:
Low
Category:
-
Target version:
Start date:
11/02/2017
Due date:
% Done:

100%

Affected Version:
git master branch
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Hey I want to create a noise profiles for canon m6, but gen-profile is failing on combining all the pdfs.
I've tried in both directories.
Below are two logs

 ~/Pictures/noise  PATH=$PATH:/opt/darktable/bin /home/mateusz/projects/darktable/tools/noise/gen-profile -d .  
===> Check for required tools
--> Check for images handling tools availability
--> Check for images export tools availability
--> Check for profiling tools availability
--> Check for internal tools availability
--> Build profiling tools
make: Entering directory '/home/mateusz/projects/darktable/tools/noise'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/mateusz/projects/darktable/tools/noise'
--> Check for tethering tools availability
--> Check for pdf tools availability

===> Check profiling directory

===> List profiling input RAW images
--> Found ISO 100 image: ./IMG_4169.CR2
--> Found ISO 125 image: ./IMG_4170.CR2
--> Found ISO 160 image: ./IMG_4171.CR2
--> Found ISO 200 image: ./IMG_4172.CR2
--> Found ISO 250 image: ./IMG_4173.CR2
--> Found ISO 320 image: ./IMG_4174.CR2
--> Found ISO 400 image: ./IMG_4175.CR2
--> Found ISO 500 image: ./IMG_4176.CR2
--> Found ISO 640 image: ./IMG_4177.CR2
--> Found ISO 800 image: ./IMG_4178.CR2
--> Found ISO 1000 image: ./IMG_4179.CR2
--> Found ISO 1250 image: ./IMG_4180.CR2
--> Found ISO 1600 image: ./IMG_4181.CR2
--> Found ISO 2000 image: ./IMG_4182.CR2
--> Found ISO 2500 image: ./IMG_4183.CR2
--> Found ISO 3200 image: ./IMG_4184.CR2
--> Found ISO 4000 image: ./IMG_4185.CR2
--> Found ISO 5000 image: ./IMG_4186.CR2
--> Found ISO 6400 image: ./IMG_4187.CR2
--> Found ISO 8000 image: ./IMG_4188.CR2
--> Found ISO 10000 image: ./IMG_4189.CR2
--> Found ISO 12800 image: ./IMG_4190.CR2
--> Found ISO 16000 image: ./IMG_4191.CR2
--> Found ISO 20000 image: ./IMG_4192.CR2
--> Found ISO 25600 image: ./IMG_4193.CR2

The script will use existing input RAW images for the profiling. No more
shot will be taken.

===> Checking profiling RAW images correctness + Jpeg export
--> ISO 100:
    ./IMG_4169.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4169-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4169-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 125:
    ./IMG_4170.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4170-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4170-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 160:
    ./IMG_4171.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4171-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4171-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 200:
    ./IMG_4172.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4172-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4172-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 250:
    ./IMG_4173.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4173-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4173-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 320:
    ./IMG_4174.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4174-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4174-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 400:
    ./IMG_4175.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4175-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4175-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 500:
    ./IMG_4176.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4176-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4176-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 640:
    ./IMG_4177.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4177-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4177-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 800:
    ./IMG_4178.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4178-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4178-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 1000:
    ./IMG_4179.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4179-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4179-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 1250:
    ./IMG_4180.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4180-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4180-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 1600:
    ./IMG_4181.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4181-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4181-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 2000:
    ./IMG_4182.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4182-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4182-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 2500:
    ./IMG_4183.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4183-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4183-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 3200:
    ./IMG_4184.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4184-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4184-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 4000:
    ./IMG_4185.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4185-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4185-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 5000:
    ./IMG_4186.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4186-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4186-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 6400:
    ./IMG_4187.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4187-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4187-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 8000:
    ./IMG_4188.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4188-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4188-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 10000:
    ./IMG_4189.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4189-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4189-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 12800:
    ./IMG_4190.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4190-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4190-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 16000:
    ./IMG_4191.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4191-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4191-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 20000:
    ./IMG_4192.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4192-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4192-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 25600:
    ./IMG_4193.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4193-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `./IMG_4193-large.jpg' @ error/cache.c/OpenPixelCache/3982.

===> Prepare profiling job
--> Remove previous presets
--> Ready to profile images

NOTE: This process takes some time and a lot of memory and disc space
(up-to several gigabytes, depending on the number of ISO settings and
the size of the RAW files.

===> Profile image for "Canon - EOS M6 - 100 ISO" 
--> Converting ./IMG_4169.CR2 (ISO 100)
[export_job] exported to `./IMG_4169.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4169.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4169.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 125 ISO" 
--> Converting ./IMG_4170.CR2 (ISO 125)
[export_job] exported to `./IMG_4170.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4170.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4170.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 160 ISO" 
--> Converting ./IMG_4171.CR2 (ISO 160)
[export_job] exported to `./IMG_4171.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4171.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4171.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 200 ISO" 
--> Converting ./IMG_4172.CR2 (ISO 200)
[export_job] exported to `./IMG_4172.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4172.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4172.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 250 ISO" 
--> Converting ./IMG_4173.CR2 (ISO 250)
[export_job] exported to `./IMG_4173.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4173.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4173.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 320 ISO" 
--> Converting ./IMG_4174.CR2 (ISO 320)
[export_job] exported to `./IMG_4174.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4174.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4174.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 400 ISO" 
--> Converting ./IMG_4175.CR2 (ISO 400)
[export_job] exported to `./IMG_4175.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4175.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4175.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 500 ISO" 
--> Converting ./IMG_4176.CR2 (ISO 500)
[export_job] exported to `./IMG_4176.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4176.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4176.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 640 ISO" 
--> Converting ./IMG_4177.CR2 (ISO 640)
[export_job] exported to `./IMG_4177.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4177.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4177.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 800 ISO" 
--> Converting ./IMG_4178.CR2 (ISO 800)
[export_job] exported to `./IMG_4178.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4178.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4178.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 1000 ISO" 
--> Converting ./IMG_4179.CR2 (ISO 1000)
[export_job] exported to `./IMG_4179.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4179.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4179.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 1250 ISO" 
--> Converting ./IMG_4180.CR2 (ISO 1250)
[export_job] exported to `./IMG_4180.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4180.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4180.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 1600 ISO" 
--> Converting ./IMG_4181.CR2 (ISO 1600)
[export_job] exported to `./IMG_4181.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4181.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4181.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 2000 ISO" 
--> Converting ./IMG_4182.CR2 (ISO 2000)
[export_job] exported to `./IMG_4182.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4182.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4182.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 2500 ISO" 
--> Converting ./IMG_4183.CR2 (ISO 2500)
[export_job] exported to `./IMG_4183.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4183.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4183.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 3200 ISO" 
--> Converting ./IMG_4184.CR2 (ISO 3200)
[export_job] exported to `./IMG_4184.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4184.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4184.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 4000 ISO" 
--> Converting ./IMG_4185.CR2 (ISO 4000)
[export_job] exported to `./IMG_4185.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4185.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4185.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 5000 ISO" 
--> Converting ./IMG_4186.CR2 (ISO 5000)
[export_job] exported to `./IMG_4186.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4186.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4186.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 6400 ISO" 
--> Converting ./IMG_4187.CR2 (ISO 6400)
[export_job] exported to `./IMG_4187.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4187.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4187.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 8000 ISO" 
--> Converting ./IMG_4188.CR2 (ISO 8000)
[export_job] exported to `./IMG_4188.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4188.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4188.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 10000 ISO" 
--> Converting ./IMG_4189.CR2 (ISO 10000)
[export_job] exported to `./IMG_4189.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4189.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4189.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 12800 ISO" 
--> Converting ./IMG_4190.CR2 (ISO 12800)
[export_job] exported to `./IMG_4190.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4190.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4190.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 16000 ISO" 
--> Converting ./IMG_4191.CR2 (ISO 16000)
[export_job] exported to `./IMG_4191.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4191.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4191.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 20000 ISO" 
--> Converting ./IMG_4192.CR2 (ISO 20000)
[export_job] exported to `./IMG_4192.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4192.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4192.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 25600 ISO" 
--> Converting ./IMG_4193.CR2 (ISO 25600)
[export_job] exported to `./IMG_4193.pfm'
--> Run noiseprofile
--> Plotting ./IMG_4193.pfm
--> Fitted parametric curves
--> Flattened ./IMG_4193.pfm
--> Save generated preset

===> Prepare final pdf
Filelist: ./IMG_4169.pdf ./IMG_4169_flat.pdf ./IMG_4170.pdf ./IMG_4170_flat.pdf ./IMG_4171.pdf ./IMG_4171_flat.pdf ./IMG_4172.pdf ./IMG_4172_flat.pdf ./IMG_4173.pdf ./IMG_4173_flat.pdf ./IMG_4174.pdf ./IMG_4174_flat.pdf ./IMG_4175.pdf ./IMG_4175_flat.pdf ./IMG_4176.pdf ./IMG_4176_flat.pdf ./IMG_4177.pdf ./IMG_4177_flat.pdf ./IMG_4178.pdf ./IMG_4178_flat.pdf ./IMG_4179.pdf ./IMG_4179_flat.pdf ./IMG_4180.pdf ./IMG_4180_flat.pdf ./IMG_4181.pdf ./IMG_4181_flat.pdf ./IMG_4182.pdf ./IMG_4182_flat.pdf ./IMG_4183.pdf ./IMG_4183_flat.pdf ./IMG_4184.pdf ./IMG_4184_flat.pdf ./IMG_4185.pdf ./IMG_4185_flat.pdf ./IMG_4186.pdf ./IMG_4186_flat.pdf ./IMG_4187.pdf ./IMG_4187_flat.pdf ./IMG_4188.pdf ./IMG_4188_flat.pdf ./IMG_4189.pdf ./IMG_4189_flat.pdf ./IMG_4190.pdf ./IMG_4190_flat.pdf ./IMG_4191.pdf ./IMG_4191_flat.pdf ./IMG_4192.pdf ./IMG_4192_flat.pdf ./IMG_4193.pdf ./IMG_4193_flat.pdf
/home/mateusz/projects/darktable/tools/noise/gen-profile: 179: local: ./IMG_4169_flat.pdf: bad variable name

Second one

 ~/projects/darktable/tools/noise   master ●  PATH=$PATH:/opt/darktable/bin ./gen-profile -d ~/Pictures/noise
===> Check for required tools
--> Check for images handling tools availability
--> Check for images export tools availability
--> Check for profiling tools availability
--> Check for internal tools availability
--> Build profiling tools
make: Entering directory '/home/mateusz/projects/darktable/tools/noise'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/mateusz/projects/darktable/tools/noise'
--> Check for tethering tools availability
--> Check for pdf tools availability

===> Check profiling directory

===> List profiling input RAW images
--> Found ISO 100 image: /home/mateusz/Pictures/noise/IMG_4169.CR2
--> Found ISO 125 image: /home/mateusz/Pictures/noise/IMG_4170.CR2
--> Found ISO 160 image: /home/mateusz/Pictures/noise/IMG_4171.CR2
--> Found ISO 200 image: /home/mateusz/Pictures/noise/IMG_4172.CR2
--> Found ISO 250 image: /home/mateusz/Pictures/noise/IMG_4173.CR2
--> Found ISO 320 image: /home/mateusz/Pictures/noise/IMG_4174.CR2
--> Found ISO 400 image: /home/mateusz/Pictures/noise/IMG_4175.CR2
--> Found ISO 500 image: /home/mateusz/Pictures/noise/IMG_4176.CR2
--> Found ISO 640 image: /home/mateusz/Pictures/noise/IMG_4177.CR2
--> Found ISO 800 image: /home/mateusz/Pictures/noise/IMG_4178.CR2
--> Found ISO 1000 image: /home/mateusz/Pictures/noise/IMG_4179.CR2
--> Found ISO 1250 image: /home/mateusz/Pictures/noise/IMG_4180.CR2
--> Found ISO 1600 image: /home/mateusz/Pictures/noise/IMG_4181.CR2
--> Found ISO 2000 image: /home/mateusz/Pictures/noise/IMG_4182.CR2
--> Found ISO 2500 image: /home/mateusz/Pictures/noise/IMG_4183.CR2
--> Found ISO 3200 image: /home/mateusz/Pictures/noise/IMG_4184.CR2
--> Found ISO 4000 image: /home/mateusz/Pictures/noise/IMG_4185.CR2
--> Found ISO 5000 image: /home/mateusz/Pictures/noise/IMG_4186.CR2
--> Found ISO 6400 image: /home/mateusz/Pictures/noise/IMG_4187.CR2
--> Found ISO 8000 image: /home/mateusz/Pictures/noise/IMG_4188.CR2
--> Found ISO 10000 image: /home/mateusz/Pictures/noise/IMG_4189.CR2
--> Found ISO 12800 image: /home/mateusz/Pictures/noise/IMG_4190.CR2
--> Found ISO 16000 image: /home/mateusz/Pictures/noise/IMG_4191.CR2
--> Found ISO 20000 image: /home/mateusz/Pictures/noise/IMG_4192.CR2
--> Found ISO 25600 image: /home/mateusz/Pictures/noise/IMG_4193.CR2

The script will use existing input RAW images for the profiling. No more
shot will be taken.

===> Checking profiling RAW images correctness + Jpeg export
--> ISO 100:
    /home/mateusz/Pictures/noise/IMG_4169.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4169-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4169-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 125:
    /home/mateusz/Pictures/noise/IMG_4170.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4170-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4170-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 160:
    /home/mateusz/Pictures/noise/IMG_4171.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4171-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4171-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 200:
    /home/mateusz/Pictures/noise/IMG_4172.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4172-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4172-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 250:
    /home/mateusz/Pictures/noise/IMG_4173.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4173-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4173-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 320:
    /home/mateusz/Pictures/noise/IMG_4174.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4174-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4174-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 400:
    /home/mateusz/Pictures/noise/IMG_4175.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4175-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4175-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 500:
    /home/mateusz/Pictures/noise/IMG_4176.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4176-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4176-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 640:
    /home/mateusz/Pictures/noise/IMG_4177.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4177-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4177-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 800:
    /home/mateusz/Pictures/noise/IMG_4178.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4178-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4178-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 1000:
    /home/mateusz/Pictures/noise/IMG_4179.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4179-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4179-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 1250:
    /home/mateusz/Pictures/noise/IMG_4180.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4180-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4180-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 1600:
    /home/mateusz/Pictures/noise/IMG_4181.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4181-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4181-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 2000:
    /home/mateusz/Pictures/noise/IMG_4182.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4182-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4182-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 2500:
    /home/mateusz/Pictures/noise/IMG_4183.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4183-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4183-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 3200:
    /home/mateusz/Pictures/noise/IMG_4184.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4184-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4184-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 4000:
    /home/mateusz/Pictures/noise/IMG_4185.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4185-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4185-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 5000:
    /home/mateusz/Pictures/noise/IMG_4186.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4186-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4186-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 6400:
    /home/mateusz/Pictures/noise/IMG_4187.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4187-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4187-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 8000:
    /home/mateusz/Pictures/noise/IMG_4188.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4188-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4188-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 10000:
    /home/mateusz/Pictures/noise/IMG_4189.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4189-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4189-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 12800:
    /home/mateusz/Pictures/noise/IMG_4190.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4190-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4190-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 16000:
    /home/mateusz/Pictures/noise/IMG_4191.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4191-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4191-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 20000:
    /home/mateusz/Pictures/noise/IMG_4192.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4192-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4192-large.jpg' @ error/cache.c/OpenPixelCache/3982.
--> ISO 25600:
    /home/mateusz/Pictures/noise/IMG_4193.CR2
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4193-large.jpg' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/home/mateusz/Pictures/noise/IMG_4193-large.jpg' @ error/cache.c/OpenPixelCache/3982.

===> Prepare profiling job
--> Remove previous presets
--> Ready to profile images

NOTE: This process takes some time and a lot of memory and disc space
(up-to several gigabytes, depending on the number of ISO settings and
the size of the RAW files.

===> Profile image for "Canon - EOS M6 - 100 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4169.CR2 (ISO 100)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4169.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4169.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4169.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 125 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4170.CR2 (ISO 125)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4170.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4170.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4170.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 160 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4171.CR2 (ISO 160)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4171.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4171.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4171.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 200 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4172.CR2 (ISO 200)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4172.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4172.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4172.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 250 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4173.CR2 (ISO 250)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4173.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4173.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4173.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 320 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4174.CR2 (ISO 320)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4174.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4174.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4174.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 400 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4175.CR2 (ISO 400)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4175.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4175.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4175.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 500 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4176.CR2 (ISO 500)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4176.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4176.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4176.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 640 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4177.CR2 (ISO 640)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4177.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4177.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4177.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 800 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4178.CR2 (ISO 800)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4178.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4178.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4178.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 1000 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4179.CR2 (ISO 1000)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4179.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4179.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4179.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 1250 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4180.CR2 (ISO 1250)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4180.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4180.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4180.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 1600 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4181.CR2 (ISO 1600)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4181.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4181.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4181.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 2000 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4182.CR2 (ISO 2000)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4182.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4182.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4182.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 2500 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4183.CR2 (ISO 2500)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4183.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4183.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4183.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 3200 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4184.CR2 (ISO 3200)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4184.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4184.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4184.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 4000 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4185.CR2 (ISO 4000)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4185.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4185.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4185.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 5000 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4186.CR2 (ISO 5000)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4186.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4186.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4186.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 6400 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4187.CR2 (ISO 6400)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4187.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4187.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4187.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 8000 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4188.CR2 (ISO 8000)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4188.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4188.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4188.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 10000 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4189.CR2 (ISO 10000)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4189.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4189.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4189.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 12800 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4190.CR2 (ISO 12800)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4190.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4190.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4190.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 16000 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4191.CR2 (ISO 16000)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4191.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4191.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4191.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 20000 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4192.CR2 (ISO 20000)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4192.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4192.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4192.pfm
--> Save generated preset

===> Profile image for "Canon - EOS M6 - 25600 ISO" 
--> Converting /home/mateusz/Pictures/noise/IMG_4193.CR2 (ISO 25600)
[export_job] exported to `/home/mateusz/Pictures/noise/IMG_4193.pfm'
--> Run noiseprofile
--> Plotting /home/mateusz/Pictures/noise/IMG_4193.pfm
--> Fitted parametric curves
--> Flattened /home/mateusz/Pictures/noise/IMG_4193.pfm
--> Save generated preset

===> Prepare final pdf
Filelist: /home/mateusz/Pictures/noise/IMG_4169.pdf /home/mateusz/Pictures/noise/IMG_4169_flat.pdf /home/mateusz/Pictures/noise/IMG_4170.pdf /home/mateusz/Pictures/noise/IMG_4170_flat.pdf /home/mateusz/Pictures/noise/IMG_4171.pdf /home/mateusz/Pictures/noise/IMG_4171_flat.pdf /home/mateusz/Pictures/noise/IMG_4172.pdf /home/mateusz/Pictures/noise/IMG_4172_flat.pdf /home/mateusz/Pictures/noise/IMG_4173.pdf /home/mateusz/Pictures/noise/IMG_4173_flat.pdf /home/mateusz/Pictures/noise/IMG_4174.pdf /home/mateusz/Pictures/noise/IMG_4174_flat.pdf /home/mateusz/Pictures/noise/IMG_4175.pdf /home/mateusz/Pictures/noise/IMG_4175_flat.pdf /home/mateusz/Pictures/noise/IMG_4176.pdf /home/mateusz/Pictures/noise/IMG_4176_flat.pdf /home/mateusz/Pictures/noise/IMG_4177.pdf /home/mateusz/Pictures/noise/IMG_4177_flat.pdf /home/mateusz/Pictures/noise/IMG_4178.pdf /home/mateusz/Pictures/noise/IMG_4178_flat.pdf /home/mateusz/Pictures/noise/IMG_4179.pdf /home/mateusz/Pictures/noise/IMG_4179_flat.pdf /home/mateusz/Pictures/noise/IMG_4180.pdf /home/mateusz/Pictures/noise/IMG_4180_flat.pdf /home/mateusz/Pictures/noise/IMG_4181.pdf /home/mateusz/Pictures/noise/IMG_4181_flat.pdf /home/mateusz/Pictures/noise/IMG_4182.pdf /home/mateusz/Pictures/noise/IMG_4182_flat.pdf /home/mateusz/Pictures/noise/IMG_4183.pdf /home/mateusz/Pictures/noise/IMG_4183_flat.pdf /home/mateusz/Pictures/noise/IMG_4184.pdf /home/mateusz/Pictures/noise/IMG_4184_flat.pdf /home/mateusz/Pictures/noise/IMG_4185.pdf /home/mateusz/Pictures/noise/IMG_4185_flat.pdf /home/mateusz/Pictures/noise/IMG_4186.pdf /home/mateusz/Pictures/noise/IMG_4186_flat.pdf /home/mateusz/Pictures/noise/IMG_4187.pdf /home/mateusz/Pictures/noise/IMG_4187_flat.pdf /home/mateusz/Pictures/noise/IMG_4188.pdf /home/mateusz/Pictures/noise/IMG_4188_flat.pdf /home/mateusz/Pictures/noise/IMG_4189.pdf /home/mateusz/Pictures/noise/IMG_4189_flat.pdf /home/mateusz/Pictures/noise/IMG_4190.pdf /home/mateusz/Pictures/noise/IMG_4190_flat.pdf /home/mateusz/Pictures/noise/IMG_4191.pdf /home/mateusz/Pictures/noise/IMG_4191_flat.pdf /home/mateusz/Pictures/noise/IMG_4192.pdf /home/mateusz/Pictures/noise/IMG_4192_flat.pdf /home/mateusz/Pictures/noise/IMG_4193.pdf /home/mateusz/Pictures/noise/IMG_4193_flat.pdf
./gen-profile: 179: local: /home/mateusz/Pictures/noise/IMG_4169_flat.pdf: bad variable name

Associated revisions

Revision e4b006ff
Added by Tobias Ellinghaus 6 days ago

noise: Fix use of local variables in dash

Fixes #11806

History

#1 Updated by Mateusz Sebas 16 days ago

I was able to fix the issue. I forgot that on ubuntu sh is aliased to dash. I've run the script under the bash and it finished smoothly. Sorry for creating a noise.

#2 Updated by Tobias Ellinghaus 13 days ago

  • Status changed from New to Incomplete
  • % Done changed from 0 to 20

If I understand the error correctly then the shell is complaining about the local keyword. While that is not POSIX compliant indeed, dash should support it. Could you please try running the script as

PATH=$PATH:/opt/darktable/bin dash /home/mateusz/projects/darktable/tools/noise/gen-profile -d .

and see if it still fails? It might make sense to remove all non-image files from the folder before doing so.

#3 Updated by Stefan Schöfegger 9 days ago

same here on debian buster

$ ls -al /bin/sh
lrwxrwxrwx 1 root root 4 Jun 28 18:26 /bin/sh -> dash

suggestion from Tobias does not work for me.

===> Prepare final pdf
Filelist: ./DSCF0457.pdf ./DSCF0457_flat.pdf
/home/steve/prj/darktable/tools/noise/gen-profile: 179: local: ./DSCF0457_flat.pdf: bad variable name

#4 Updated by Mateusz Sebas 9 days ago

My workaround was to use bash.

PATH=$PATH:/opt/darktable/bin bash /home/mateusz/projects/darktable/tools/noise/gen-profile -d .

#5 Updated by Mateusz Sebas 9 days ago

Tobias the same happened with your command:

===> Prepare final pdf
Filelist: ./IMG_4169.pdf ./IMG_4169_flat.pdf ./IMG_4170.pdf ./IMG_4170_flat.pdf ./IMG_4171.pdf ./IMG_4171_flat.pdf ./IMG_4172.pdf ./IMG_4172_flat.pdf ./IMG_4173.pdf ./IMG_4173_flat.pdf ./IMG_4174.pdf ./IMG_4174_flat.pdf ./IMG_4175.pdf ./IMG_4175_flat.pdf ./IMG_4176.pdf ./IMG_4176_flat.pdf ./IMG_4177.pdf ./IMG_4177_flat.pdf ./IMG_4178.pdf ./IMG_4178_flat.pdf ./IMG_4179.pdf ./IMG_4179_flat.pdf ./IMG_4180.pdf ./IMG_4180_flat.pdf ./IMG_4181.pdf ./IMG_4181_flat.pdf ./IMG_4182.pdf ./IMG_4182_flat.pdf ./IMG_4183.pdf ./IMG_4183_flat.pdf ./IMG_4184.pdf ./IMG_4184_flat.pdf ./IMG_4185.pdf ./IMG_4185_flat.pdf ./IMG_4186.pdf ./IMG_4186_flat.pdf ./IMG_4187.pdf ./IMG_4187_flat.pdf ./IMG_4188.pdf ./IMG_4188_flat.pdf ./IMG_4189.pdf ./IMG_4189_flat.pdf ./IMG_4190.pdf ./IMG_4190_flat.pdf ./IMG_4191.pdf ./IMG_4191_flat.pdf ./IMG_4192.pdf ./IMG_4192_flat.pdf ./IMG_4193.pdf ./IMG_4193_flat.pdf
/home/mateusz/projects/darktable/tools/noise/gen-profile: 179: local: ./IMG_4169_flat.pdf: bad variable nam

#6 Updated by Tobias Ellinghaus 6 days ago

  • Status changed from Incomplete to In Progress
  • System changed from Ubuntu to all
  • % Done changed from 20 to 50
  • Target version set to 2.4.0
  • Assignee set to Tobias Ellinghaus

Ok, I know what's going on. There are some more problems with the script and I will push a fix later when I sorted out all of the bugs.

#7 Updated by Tobias Ellinghaus 6 days ago

  • % Done changed from 50 to 100
  • Status changed from In Progress to Fixed

Also available in: Atom PDF