Using on a Mac and getting "Not a HASH reference" error

Started by wind_cleaver, April 05, 2025, 01:27:21 PM

Previous topic - Next topic

wind_cleaver

I keep getting this error when using a csv file: Not a HASH reference at /usr/local/bin/lib/Image/ExifTool/WriteQuickTime.pl line 1732.

I cd into the folder with the photos and csv file and run: exiftool -csv=metadata.csv *.*

StarGeek

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype


greybeard

Have you checked which file is causing the problem?


StarGeek

Can you share the section of the CSV that contains the files where this pops up, including the header?  Can you share the problem files?

This can't be troubleshooted if we don't know the data that is being processed.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

I'm going to need to see the lines of the CSV file that StarGeek mentioned.  I've tried writing all possible QuickTime tags but I can't reproduce this error.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).