ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:06 AM

Title: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by jean on 2007-06-22 14:00:36-07]

Hello
I am using exiftool.exe v 6.91, Windows XP and 2000.
When i try to modify the value of an existing IPTC tag. eg:
exiftool -IPTC:City="Test" essai.jpg
I get the following error message:
Error while attempting to call Image::ExifTool::Photoshop::WritePhotoshop
Can't locate Image/ExifTool/WritePhotoshop.pl in @INC (@INC contains: CODE(0xf92fcc) CODE(0xdccda4) CODE(0xdccedc)) at (eval 26) line 1, (EXIFTOOL_FILE2) chunk 11.

(no problem for modifying EXIF and XMP fields)
the file WritePhotoshop.pl exists in my temp folder (c:/temp/par-Jean/cache-exiftool-6.91/inc/lib/image/ExifTool/WritePhotoshop.pl)
Title: Re: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by exiftool on 2007-06-22 14:51:02-07]

Do you have other versions of ExifTool installed?  If so, delete them
and try again.  Also try deleting all your temporary files in case
someone they got corrupted.  I have only seen this problem once
before and it was an interference with another ExifTool version
that was installed in a different location.

- Phil
Title: Re: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by jean on 2007-06-22 14:58:57-07]

I deleted all the temp files, i have only one exiftool.exe, downloaded from yout web site.
And i still get the error :-(
The error occurs only with IPTC fields, with all the files i tried.
Title: Re: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by exiftool on 2007-06-22 15:13:30-07]

Darn.

Did you try this on Windows XP or 2000, or both?  It really should work
on Windows XP, and has been very well tested on that platform.

As another test, try downloading version 6.90 to see if it works.  Although
unlikely, it is possible that your 6.91 download was corrupted somehow.
Changing versions will also put the temporary files in a different directory.

Just one more thought:  Your hard disk isn't nearly full is it?  This can cause
problems when the temporary files are unpacked.

- Phil
Title: Re: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by jean on 2007-06-23 05:56:45-07]

I test on 2000 and XP.
It works with Exiftool 6.89 (both XP and 2000)
It fails with Exiftool 6.91.

Between each test i deleted all the temp files/folders created by Exiftool.
My hard disk is not full :-)
Title: Re: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by exiftool on 2007-06-23 12:07:46-07]

Thanks for this report.  I think the most likely cause is that
your 6.91 distribution got corrupted somehow because I
can't think of anything I changed between 6.89 and 6.91
that could possibly cause this problem.

If you can't get 6.91 working by erasing the temporary files
and re-downloading then re-installing, then perhaps the
thing to do is to wait for 6.92 (which should be out within
a week or so), and with any luck this will solve the problem.

- Phil
Title: Re: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by jean on 2007-06-24 05:56:16-07]

Phil, thank you for your reply, i will wait the v 6.92
I installed Exiftool 6.91 on a PC with XP that never heard of Perl before and i reproduce the problem :-(
One last small question: the error is about WritePhotoshop.pl but the tag is an IPTC tag ?
Title: Re: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by exiftool on 2007-06-24 11:35:35-07]

Very odd.  If you used a freshly downloaded version of exiftool 6.91,
then this points to a problem in that distribution and not a conflict.
This worries me.  I'll do a bit of testing here myself to see if I can
synthesize your problem.

IPTC information is stored inside the
Photoshop
APP13 segment of a JPEG image
.

- Phil
Title: Re: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by exiftool on 2007-06-26 01:05:00-07]

Well, I've had a few adventures while trying to reproduce your
problem, but I'm sorry to say that I haven't managed to shed any
light on this situation.

I dug out my PC and discovered that it had been infested by bugs!

Akkkkk!  Bugs in my PC!  Ewwwww.

Well, it wasn't all that bad, but I find it really funny that my
Windows laptop is buggy.  Doh!  Sort of the opposite of ironic. LOL.
I did some surfing to figure out what they are... turns out my PC
is infested with book lice.  Little white specks crawling all over
my keyboard and LCD screen.  So I spent yesterday afternoon trying
to rid my bug infestation from the PC and my storage cabinet.
I think I solved that problem anyway, but here is what happened
when I tried to reproduce yours:

I re-downloaded the 6.91 distribution and used it to write some
IPTC information.  No problem.  Then I deleted
inc/lib/Image/ExifTool/WritePhotoshop.pl from the temporary par
directory... Still no problem.  It turns out that the
WritePhotoshop.pl file that is used is actually called 142cebc5.pm
(odd I know, but then I don't claim to know the inner workings of
the PAR module).  Anyway, when I erased that file and tried again
it was just re-extracted automatically and everything worked fine
again.  The only way I was able to break it was to specifically
corrupt this file, but then I got a different error message.
I was not able to do anything to generate the error you got.

So it is still a mystery, and all I can do is hope that 6.92 works
for you when it is released later in the week.

- Phil
Title: Re: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by jean on 2007-06-30 06:07:45-07]

Phil
The IPTC modification works fine now :-)
Title: Re: Modifying the IPTC metadata
Post by: Archive on May 12, 2010, 08:54:06 AM
[Originally posted by exiftool on 2007-06-30 10:31:31-07]

Excellent.  Thanks for the update.

There must have been something that went wrong with the
installation of the previous version.  It would have been nice
to know exactly why, but I'm glad it works now.

- Phil