Some Batch Queue Manager operations fail and I cannot understand why

Hello, I am running a script via Batch Queue Manager aimed at printing my library’s images’ information in a CSV file.

The script is the following:

echo "\"$INPUT\",$COLORLABEL,$TAGSPATH" >> ~/Desktop/ia-scambi.csv

Here is a screenshot of what I see:

As you can notice, some actions fail, even though practically the images are not modified in any way, since no data is written, but only read. Here is the full log, pasted from the one you see in the image.

If I set “Skip automatically”, some images are not processed, Again, no idea why.