ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: wind_cleaver on April 05, 2025, 01:27:21 PM

Title: Using on a Mac and getting "Not a HASH reference" error
Post by: wind_cleaver on April 05, 2025, 01:27:21 PM
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 *.*
Title: Re: Using on a Mac and getting "Not a HASH reference" error
Post by: StarGeek on April 05, 2025, 02:03:51 PM
What version of exiftool?
exiftool -ver
Title: Re: Using on a Mac and getting "Not a HASH reference" error
Post by: wind_cleaver on April 05, 2025, 03:16:24 PM
13.26
Title: Re: Using on a Mac and getting "Not a HASH reference" error
Post by: greybeard on April 05, 2025, 03:46:57 PM
Have you checked which file is causing the problem?
Title: Re: Using on a Mac and getting "Not a HASH reference" error
Post by: wind_cleaver on April 05, 2025, 04:21:46 PM
It's multiple files
Title: Re: Using on a Mac and getting "Not a HASH reference" error
Post by: StarGeek on April 05, 2025, 04:59:24 PM
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.
Title: Re: Using on a Mac and getting "Not a HASH reference" error
Post by: Phil Harvey on April 06, 2025, 09:01:14 AM
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