Can't call method "Read"

Started by StarGeek, July 05, 2018, 06:56:50 PM

Previous topic - Next topic

StarGeek

I just tried exiftool.exe ver 11.05 and recieved the following error.  I clear temp, deleted and redownloaded exiftool to see if that fixed it, but still have the error.

C:\>exiftool -description y:\!temp\Test3.jpg
Can't call method "Read" on an undefined value at Image/ExifTool/Photoshop.pm line 823, <EXIFTOOL_FILE> chunk 3.


Edit: Same with 11.04.  No error with 11.03.  Trying to figure out if it's something on my end or not.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

Nope, that's my problem. :(  Related to the recent out-of-memory "fix".

Can you email me Test3.jpg and I'll look into this?  (funny this didn't happen with my thousands of test files)

Thanks.

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

StarGeek

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

Thanks for the sample.

This bug is fixed in ExifTool 11.06 (just released).

And thanks for reporting this!

(This problem didn't occur in my test files because I don't think that Photoshop writes ImageSourceData in JPEG images, as in your sample.)

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

StarGeek

Ah, so it isn't anything I edited, it's the original image itself.  This image came from a Epson Perfection V500 Photo scanner, do you want an unedited image from the scanner?
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

I think it was your edit to add ImageSourceData that revealed the problem.  The contents of ImageSourceData is "EXIF:ImageSourceData".

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