Exiftool produces error in attempting to generate documentation

Started by oterrya, May 20, 2010, 01:49:52 AM

Previous topic - Next topic

oterrya

Running
exiftool(-k).exe
  produces the following error
Error creating temp file C:/Users/Terry/AppData/Local/Temp/par-Terry//exiftool_doc.txt

Note the double slashes in the portion added to my temp path.

I am not a perl guru and still am in the pretty useless mode of debugging perl scripts.

I am running the windows .exe version on
Windows 7 Pro (up to date on patches)
perl 5.10.1 (but since I am using the Windows .exe, it should not matter)

If I run it against a .jpg file it appears that I get correct information from the file.

Any clues as to where to go from here?



. . . . Terry.

Phil Harvey

Hi Terry,

The double slash shouldn't matter.  (It doesn't matter in Unix anyway.)

Does the directory "C:/Users/Terry/AppData/Local/Temp/par-Terry" exist, and is the directory writable by you?

And if the file C:/Users/Terry/AppData/Local/Temp/par-Terry/exiftool_doc.txt already exists, do you have write permission?

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

oterrya

 :) Thanks Phil.  I managed to get around the issue.  More to the point, it seems to work fine now.
. . . . Terry.

curatorpreservator

Hello everybody,
I have a similar problem when the path has a white space in the middle, using under Windows

For Example:

c:\Archive Pictures\images


Is it an bug? should I substitute Archive Pictures by Archive%20Pictures ? Should all directories not have a white space?

Thanks in advance

JJo

Phil Harvey

This sounds like a problem running exiftool, not with the installation per se.

The space is used to separate arguments on the command line.  There are other special characters (such as > and < for example) which also cause problems.  Arguments containing these characters must be quoted on the command line.  In Windows, double quotes must be used, ie)

exiftool "c:\Archive Pictures\images"

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

Jarb

It would be nice when running exiftool without any arguments to not get this cryptic error:

  PS E:\users\john\Pictures\iMac_Photos_Export_2015-07-25\March 11, 2008> exiftool
  Error creating temp file C:/Users/John/AppData/Local/Temp/par-John//exiftool_doc.txt
  -- press RETURN --


This was the first command I tried to run after installing version 10.09 on Windows 7. I figured out that I could get useful help information by adding ".", i.e., exiftool .

Thanks for an extremely powerful utility!

Phil Harvey

OK,  I'll change it so the output looks like this:

PS E:\users\john\Pictures\iMac_Photos_Export_2015-07-25\March 11, 2008> exiftool
  Error creating temp file C:/Users/John/AppData/Local/Temp/par-John//exiftool_doc.txt
  So ExifTool can't print the help documentation.
  -- press RETURN --


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

Jarb

Quote from: Phil Harvey on January 16, 2016, 02:29:02 PM
OK,  I'll change it so the output looks like this:

PS E:\users\john\Pictures\iMac_Photos_Export_2015-07-25\March 11, 2008> exiftool
  Error creating temp file C:/Users/John/AppData/Local/Temp/par-John//exiftool_doc.txt
  So ExifTool can't print the help documentation.
  -- press RETURN --


- Phil

What service! Thank you!