Error when trying to shift "DateTimeOriginal"

Started by Tinkz, August 08, 2011, 03:36:08 AM

Previous topic - Next topic

Tinkz

Hello! I have trouble when try to shift "DateTimeOriginal". I dont know how to win it. Thank you for help! (See screenshot in attachment)

Phil Harvey

This looks like somehow you are running a newer version of the exiftool application with an older version of the libraries.  I don't know how this could happen, but try removing all versions of ExifTool from your system then downloading and installing the most recent version.

I don't know if you can run "exiftool -ver" through the GUI, but if so it will tell you the application version and warn you if you are using the wrong libraries.

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

Phil Harvey

Also, you should delete exiftool from your temporary directory before re-installing.  See the Windows uninstall instructions for more information.

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

Tinkz

Hi! Sorry, I forget to indicate version. It is latest standalone windows exeс 8.61 from here and latest GUI 4.17 from forum.
What libraries it needs?
I'm run in CLI:
c:\Downloads\exiftool>exiftool.exe -ver
Too many arguments for Image::ExifTool::GetFileType at script/exiftool line 455,
near "0)"

rename "exiftool.exe" to "exiftool(-k).exe" and have:
c:\Downloads\exiftool>exiftool(-k).exe -ver
defined(%hash) is deprecated at lib/Image/ExifTool.pm line 2944.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at lib/Image/ExifTool.pm line 2952.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at lib/Image/ExifTool.pm line 2986.
        (Maybe you should just omit the defined()?)
ExifTool version 6.30

Phil Harvey

Yes, you have a very old version of the ExifTool libraries (6.30) hiding somewhere on your hard disk and causing this problem.

The libraries are included in the exiftool executable, and should be version 8.61 for the exiftool you are running.  When you run it for the first time, these libraries are unpacked into your TEMP directory (see the uninstall instructions as I mentioned).

You should find this old version and delete it.

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