Author Topic: exiftool not "staying open" when problem files encountered.  (Read 1907 times)

areohbee

  • Full Member
  • ***
  • Posts: 37
exiftool not "staying open" when problem files encountered.
« on: November 16, 2014, 10:17:54 AM »
I have some files that exiftool does not like.

For example, a tiff which elicits an error message when attempting to do anything with it:

Invalid type '-' at Image/ExifTool.pm line 3791.

I guess the file is wonky, but the problem is that exiftool (when encountering one of these problem files) is aborting with an exit code of 255 when using stay-open mode, which is causing problems for me.

Any advice?

Thanks,
Rob

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16879
    • ExifTool Home Page
Re: exiftool not "staying open" when problem files encountered.
« Reply #1 on: November 16, 2014, 06:57:56 PM »
Hi Rob,

Thanks for the report.

If you send any sample that causes a problem to me (philharvey66 at gmail.com), I'll fix it.

- Phil
...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 ($).

areohbee

  • Full Member
  • ***
  • Posts: 37
Re: exiftool not "staying open" when problem files encountered.
« Reply #2 on: November 17, 2014, 05:07:52 AM »
Check you inbox Phil  ;).
Rob

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16879
    • ExifTool Home Page
Re: exiftool not "staying open" when problem files encountered.
« Reply #3 on: November 17, 2014, 07:21:02 AM »
Hi Rob,

I got the file, thanks.

Wow.  This particular problem only affects Canon EOS 40D images that were corrupted in a very specific way.  Way to trigger this extreme fringe vulnerability.  It will be fixed in ExifTool 9.77.

- Phil

Edit:  Looking closer at this image, the culprit software that caused this problem appears to be Nikon Capture NX.
« Last Edit: November 17, 2014, 08:18:01 AM by Phil Harvey »
...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 ($).

Hayo Baan

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 1140
  • Professional Photographer & Software Developer
    • Hayo Baan – Photography
Re: exiftool not "staying open" when problem files encountered.
« Reply #4 on: November 17, 2014, 11:45:06 AM »
Edit:  Looking closer at this image, the culprit software that caused this problem appears to be Nikon Capture NX.

Oh, what a surprise ;)
Hayo Baan – Photography
Web: www.hayobaan.nl