Problem Loading Configuration File for Exiftool

Started by Archive, May 12, 2010, 08:54:44 AM

Previous topic - Next topic

Archive

[Originally posted by mysterlune on 2010-01-06 17:17:52-08]

Code:
I am adding a User-Defined tag to Exiftool via the .Exiftool_config file, and the file does not seem to be loaded automatically.

I am using Ubuntu jaunty (9.04), and have installed from the latest distribution tar.gz from:

http://www.exiftool.org/

The checklist:
* I have placed the distributed .Exiftool_config file in the same directory "/usr/bin" in which Exiftool itself is running.</li>
* I have set the EXIFTOOL_HOME environment variable to "/usr/bin"
* I have confirmed that the configuration file can be loaded explicitly as follows:

$ exiftool -config $EXIFTOOL_HOME/.Exiftool_config -listw -xmp-dc:all

* I have also installed Exiftool on Mac OSX, and am NOT having the same problem
* I have reviewed the FAQ, and have taken each of the appropriate steps:

http://cpansearch.perl.org/src/EXIFTOOL/Image-ExifTool-7.82/html/faq.html#Q11

This is all that is in my .Exiftool_config file (though without the "==="):

===================================================
# The %Image::ExifTool::UserDefined hash defines new tags to be added
# to existing tables.
%Image::ExifTool::UserDefined = (

    # XMP tags may be added to existing namespaces:
    'Image::ExifTool::XMP::dc' => {
        rightsHolder => { Groups => { 2 => 'rightsHolder' } },
    }

);
===================================================

When I run:

$ exiftool -listw -xmp-dc:all

I see:

Writable xmp-dc tags:
  Contributor Coverage Creator Date Description Format Identifier Language
  Publisher Relation Rights Source Subject Title Type

When I run:

$ exiftool -config $EXIFTOOL_HOME/.Exiftool_config -listw -xmp-dc:all

I see (notice "RightsHolder" is now in the list):

Writable xmp-dc tags:
  Contributor Coverage Creator Date Description Format Identifier Language
  Publisher Relation Rights RightsHolder Source Subject Title Type

Does anyone have recommendations as to how I can direct Exiftool to load my .Exiftool_config file (without having to use the "config" flag)?

Thank you,River Lune

==============================
Web Developer
Interactive Media and Web Services
California Academy of Sciences
55 Music Concourse Drive
San Francisco, CA 94115
(415) 379-5869
rlune@calacademy.org
www.calacademy.org
==============================

Archive

[Originally posted by exiftool on 2010-01-06 17:46:44-08]

Hi River,

You're a sneaky one, but you can't trick me that easily!

The Ubuntu filesystem is case sensitive, while the OS X filesystem
is not.

Check the case of your config file.  This should work if you change it
to ".ExifTool_config".

- Phil

Archive

[Originally posted by exiftool on 2010-01-06 17:57:34-08]

I should have mentioned how delightful it was to read such
a complete problem report, and was impressed that you
even checked the FAQ first.  Life would be much easier
for me if everyone did this!

- Phil

Archive

[Originally posted by mysterlune on 2010-01-06 19:13:12-08]

Well, I consider myself lucky to get front-line support from the project originator.  And, btw, thank you for a valuable tool.

Your suggestion regarding case sensitivity on Ubuntu worked perfectly.  Thanks a million, and keep up the great work!

Cheers,
River