Line Breaks in ImageDescription works on Mac but not Windows 10

Started by JordanCait, February 01, 2021, 12:32:01 PM

Previous topic - Next topic

JordanCait

Hi Phil,
Thank you so much for making this tool available to us.  I can see that a HUGE amount of work has gone into it and I appreciate it very much.
I seem to be stuck and I need some help please...

I am trying to place metadata into images so that we can use slideshow software to play the images and show the metadata at the same time.
In this case, I am trying to parse the judges' comments from a contest so that they fit nicely on the screen.
I am making OS calls from within a Python program (I am a newbie) and I can get the code to work nicely on a MAC but not on Windows 10.  As you can see, I get the error message "No file specified".   I have experimented with cf/lf vs. lf, putting ^ at the end of lines, but I don't seem to be getting anywhere.  Please help!

RuntimeError: command 'exiftool.exe -City="John Doe" -Headline="Common Loon with Chick on Board" -Source="23.0 =  [7 + 8 + 8]" -ImageDescription="J1:unusual view of loon and chick- very pleasing to see them both
looking in same direction. chick appears out of focus- possibly
moving during shot? If so increase the shutter speed. very central
location - crop slightly on the right." -Copyright="23.0" -Credit="Novice \ Intermediate Winner" -Description="Intermediate" -Artist="KM" -Subject="20-21"   -overwrite_original "C:\TDPCTESTCAT\ContestAnalysisTool\KM\output\stamped\400-2021-KM-3F2A4630-Edit.jpg"
' return with error (code 1): No file specified






JordanCait

I guess I didn't do enough reading beforehand.

This is explained in FAQ 21.