Strange error by exiftool

Started by bes, February 13, 2011, 01:27:48 PM

Previous topic - Next topic

bes

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 ?

Phil Harvey

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

bes

#2
Ok, i tested it on 2nd pc and it works. I will clean the temp files and try it again on 1st pc.

Phil Harvey

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