I am having problems calling a pink executable from gmic, as shown below. The error message is the same, “Command ‘done’: Not associated to a…” regardless of the pink cmd I use. Any ideas where I can fix this? I running gmic on ubuntu 20.04. pink works outside gmic.
[gmic]-1./pink/pink_new/ Call pink package on image [0] with execute cmd: “maxima [imgin] 8 [imgout]”.
[gmic] *** Error in ./pink/pink_new/*if/_xpinks/ *** Command ‘done’: Not associated to a ‘for’, ‘foreach’, ‘local’ or ‘repeat’ command within the same scope.
gmic -version
gmic: GREYC’s Magic for Image Computing: command-line interface
Version 3.1.2
(https://gmic.eu)
Copyright (c) Since 2008, David Tschumperlé / GREYC / CNRS.
(https://www.greyc.fr)
To me, the code of the command where the error occurs seems correct, so maybe this is a bug that has been fixed in latest version of G’MIC (3.1.4).
I don’t know, I don’t have pink installed here on my machine.