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.
"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

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/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

It a file filled with data from my test file args.

https://www.dropbox.com/s/o20zoxavuaz4tq5/Test3.jpg
"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

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/PowerShell, 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?
"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 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/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).