ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: StarGeek on July 05, 2018, 06:56:50 PM

Title: Can't call method "Read"
Post by: StarGeek on July 05, 2018, 06:56:50 PM
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.
Title: Re: Can't call method "Read"
Post by: Phil Harvey on July 05, 2018, 09:23:03 PM
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
Title: Re: Can't call method "Read"
Post by: StarGeek on July 05, 2018, 09:28:51 PM
It a file filled with data from my test file args.

https://www.dropbox.com/s/o20zoxavuaz4tq5/Test3.jpg
Title: Re: Can't call method "Read"
Post by: Phil Harvey on July 06, 2018, 07:35:46 AM
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
Title: Re: Can't call method "Read"
Post by: StarGeek on July 06, 2018, 11:47:52 AM
Ah, so it isn't anything I edited, it's the original image itself.  This image came from a Epson Perfection V500 Photo scanner (https://www.amazon.com/Epson-B11B189011-Epson-Perfection-V500-Photo-Scanner/dp/B000VG4AY0), do you want an unedited image from the scanner?
Title: Re: Can't call method "Read"
Post by: Phil Harvey on July 06, 2018, 01:20:53 PM
I think it was your edit to add ImageSourceData that revealed the problem.  The contents of ImageSourceData is "EXIF:ImageSourceData".

- Phil