ExifTool Forum

ExifTool => Install Problems => Topic started by: oterrya on May 20, 2010, 01:49:52 AM

Title: Exiftool produces error in attempting to generate documentation
Post by: oterrya on May 20, 2010, 01:49:52 AM
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?



Title: Re: Exiftool produces error in attempting to generate documentation
Post by: Phil Harvey on May 20, 2010, 07:17:30 AM
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
Title: Re: Exiftool produces error in attempting to generate documentation
Post by: oterrya on November 03, 2010, 02:15:44 AM
 :) Thanks Phil.  I managed to get around the issue.  More to the point, it seems to work fine now.
Title: Re: Exiftool produces error in attempting to generate documentation
Post by: curatorpreservator on November 15, 2010, 04:46:50 PM
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
Title: Re: Exiftool produces error in attempting to generate documentation
Post by: Phil Harvey on November 15, 2010, 06:48:04 PM
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
Title: Re: Exiftool produces error in attempting to generate documentation
Post by: Jarb on January 16, 2016, 01:56:00 PM
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!
Title: Re: Exiftool produces error in attempting to generate documentation
Post by: 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
Title: Re: Exiftool produces error in attempting to generate documentation
Post by: Jarb on January 18, 2016, 11:22:05 PM
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!