[digiKam-users] batch - user shell script not working

Maik Qualmann metzpinguin at gmail.com
Mon Oct 12 21:33:00 BST 2020


The empty tool title in the debug output is fixed with this commit:

https://invent.kde.org/graphics/digikam/-/commit/
179fcfb4afd9e0dab55960600dc2145ab49f501d

Maik

Am Montag, 12. Oktober 2020, 19:59:23 CEST schrieben Sie:
> I've tested it here on Windows 10 and it works with no problems, no error in
> the script line. I only adjusted the path, I installed it to C:\gmic-2.9.2-
> cli-win64\.
> I also have the marked line in the output, I will see where it comes from.
> 
> Maik
> 
> Am Montag, 12. Oktober 2020, 16:53:07 CEST schrieb Cesar Inacio Martins:
> > Hi,
> > 
> > Digikam 7.1 running on Windows.
> > 
> > I'm trying to use the batch queue manager + user shell script tool to run
> > a
> > gmic command line.
> > The command is fine and works properly from windows command line.
> > 
> > However, always I get errors when I try to run into the digikam.
> > 
> > 11:51:18 :: Item "PICT3243.JPG" from queue "#1": Processing...
> > 11:51:38 :: Item "PICT3243.JPG" from queue "#1": Failed to process item...
> > 11:51:38 :: Item "PICT3243.JPG" from queue "#1": User Script: Script
> > process crashed.
> > 11:51:38 :: Item "PICT3243.JPG" from queue "#1": Failed to process item...
> > 11:51:38 :: Item "PICT3243.JPG" from queue "#1": Failed to create file...
> > 
> > 
> > I activated the debug mode and looking at the output appear they don't run
> > any command.
> > Is Windows compatible?
> > What I'm doing wrong?
> > 
> > The command used: *L:\fotos\gmic-2.9.2-cli-win64\gmic $INPUT
> > -fx_boost_fade
> > 5,0,0,50,50 -o $OUTPUT,70*
> > 
> > [5700] digikam.general: Target album for queue  "#1"  is:
> >  "D:/cmartins/Pictures/Fotos (hd
> > 
> > externo)/AAA__ORGANIZAR/tia.negativos/leva2/fixed/"
> > [5700] digikam.general: Using  1  CPU core to run threads
> > [5700] digikam.general: Action Thread run  1  new jobs
> > [5700] digikam.general: Tool : index=  1  :: name=  "UserScript"  ::
> > group=
> > 
> >  1  :: wurl=  QUrl("file:///D:/cmartins/Pictures/Fotos (hd
> > 
> > externo)/AAA__ORGANIZAR/tia.negativos/leva2/fixed/")
> > [5700] digikam.general: path:  "D:/cmartins/Pictures/Fotos (hd
> > externo)/AAA__ORGANIZAR/tia.negativos/leva2/fixed//BatchTool-fDHVAl-3e511e
> > 30 .digikamtempfile.JPG" *[5700] digikam.general: Tool:        ""*
> > [5700] digikam.general: Input url:
> > QUrl("file:///D:/cmartins/Pictures/Fotos (hd
> > externo)/AAA__ORGANIZAR/tia.negativos/leva2/PICT3243.JPG")
> > 
> > [5700] digikam.general: Output url:
> >  QUrl("file:///D:/cmartins/Pictures/Fotos (hd
> > 
> > externo)/AAA__ORGANIZAR/tia.negativos/leva2/fixed//BatchTool-fDHVAl-3e511e
> > 30 .digikamtempfile.JPG")






More information about the Digikam-users mailing list