ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: bes on February 13, 2011, 01:27:48 PM

Title: Strange error by exiftool
Post by: bes on February 13, 2011, 01:27:48 PM
I have installed exiftool in a folder. Declare its full path to global env. setting of windows to call exiftool from everywhere.
In the same folder i created some batch files that describe often used exiftool processes.

In a certain folder if i have called one of these batch i am getting the following error:

exiftool -overwrite_original *.nef *.tif -maxApertureValue="4.5" -exif:lensMake="Nikon" -exi
f:lensInfo="80 200 4.5 4.5" -exif:lensModel="Nikkor 80-200mm f/4.5"
Can't locate PAR.pm in @INC (@INC contains: .) at -e line 860.

Whats wrong ?
Title: Re: Strange error by exiftool
Post by: Phil Harvey on February 13, 2011, 02:09:59 PM
If you can run exiftool yourself without problems, then there must be something different about the environment in the batch file that is causing a problem.  Are you setting any PAR environment variables?  This is either a problem with a corrupted exiftool installation or something that is broken somehow with the exiftool PAR package.  I have never seen this particular problem, but I suggest deleting all exiftool temporary files (see the uninstall instructions for details) and trying again, then check your environment if this doesn't help.

- Phil
Title: Re: Strange error by exiftool
Post by: bes on February 14, 2011, 05:43:59 AM
Ok, i tested it on 2nd pc and it works. I will clean the temp files and try it again on 1st pc.
Title: Re: Strange error by exiftool
Post by: Phil Harvey on April 14, 2011, 11:23:32 AM
This problem has come up again.  See this thread. (https://exiftool.org/forum/index.php/topic,3241.0.html)

- Phil