ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: andiling on July 11, 2016, 03:08:22 AM

Title: [10.21+] Exiftool Can't locate Config.pm in @INC
Post by: andiling on July 11, 2016, 03:08:22 AM
Hi,
I'm using exiftool mostly with geotag (http://geotag.sourceforge.net/) which works perfectly up to version 10.20. 10.21/22 do not work anymore with it...
Any clues?
Attached the log file, I'm using Windows 10 x64 Pro.
Thx,
Andreas
Title: Re: [10.21+] Exiftool Can't locate Config.pm in @INC
Post by: Hayo Baan on July 11, 2016, 06:44:56 AM
From the log, it actually looks like you have a problem with your Java setup (a language specific file can not be found), not with exiftool... You can verify the workings of exiftool by simply executing it on the command line.
Title: Re: [10.21+] Exiftool Can't locate Config.pm in @INC
Post by: Phil Harvey on July 11, 2016, 07:50:29 AM
I concur with Hayo.

- Phil
Title: Re: [10.21+] Exiftool Can't locate Config.pm in @INC
Post by: andiling on July 12, 2016, 01:04:38 AM
The missing DE file is not a fatal error (see attached the log with the 10.20 working version) as well as the java setup works with other tools (Android). Anyways, just wanted to tell it.
Title: Re: [10.21+] Exiftool Can't locate Config.pm in @INC
Post by: Hayo Baan on July 12, 2016, 01:25:28 AM
Hmm, interesting. So the Java errors were just a red herring; 10.20 does not produce the @INC error and 10.21 and newer do. I don't have a Windows 10 system so I can't test this, but do exiftool 10.21&10.22 work when used standalone?
Title: Re: [10.21+] Exiftool Can't locate Config.pm in @INC
Post by: Phil Harvey on July 12, 2016, 07:32:09 AM
Just for fun I tried this using the Windows version of ExifTool 10.22 running under Windows 10:

>"Exiftool(-k).exe" -p "${filename;print 'YES!' if require Config}" a.jpg
YES!a.jpg
-- press RETURN --


So the Config module seems to be packed in the ExifTool bundle.  Your @INC is wrong though.  When ExifTool is running the @INC should contain the temporary directories where ExifTool unpacks its files.  Also, your warning mentions -e, which is a Perl option that Exiftool doesn't use, so I think that the Java script must be executing some other command to produce this warning.

- Phil