"Use of uninitialized value $tg in concatenation"

Started by richardmonette, January 09, 2023, 02:18:46 PM

Previous topic - Next topic


Hello, I'm getting this error when extracting metadata

Use of uninitialized value $tg in concatenation (.) or string at /artifacts/bundle/ruby/3.1.0/gems/exiftool_vendored-12.50.0/bin/lib/Image/ExifTool/XMP.pm line 3734
  "SourceFile": "-",
  "ImageWidth": 500,
  "ImageHeight": 500,
  "FileType": "JPEG",
  "Orientation": 1,
  "JPEGQualityEstimate": 80

Perhaps related to too many items? https://github.com/exiftool/exiftool/blob/12.50/lib/Image/ExifTool/XMP.pm#L3734

Phil Harvey

Could you send me the sample file that you are using so I can reproduce this?  My email is philharvey66 at gmail.com

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