Pending metatada write not performed

Started by maxbelloni, November 01, 2023, 08:45:43 AM

Previous topic - Next topic

maxbelloni

I know that similar questions were already been discussed, but I did not find a solution.

I started to reorganize my pictures keywords. Done A LOT of work, everything looks OK. Except 130 OLD files which, even trying to write back metadata, remains in the pending metadata queue.

Here below is an example of the results of the metadata analysis.

Is it there something I can do to fix this?

============================


Metadata Analyst Results. Version 2023.3.6. 11/1/2023 8:39:46 AM
File analyzed: Y:\Imaging_Archive\Archive02\DSC_7685.NEF
Errors: 4
Warnings: 14

Warning: [System] File has unwritten metadata (pending write-back).<br/>The metadata loaded from the image and the data in the database may not match.
Warning: [Metadata] Warnings: 'IPTCDigest is not current. XMP may be out of sync'
Warning: [Legacy IPTC] Character Set Encoding: unspecified.
Warning: [XMP] Embedded XMP record (XMP Core 4.1.1) and XMP sidecar file (ViewNX 2.2 W) found.
Warning: [XMP] [ExifIFD]:DateTimeOriginal not mapped to [XMP-exif]:DateTimeOriginal (embedded).
Warning: [XMP] [ExifIFD]:CreateDate not mapped to [XMP-xmp]:CreateDate (embedded).
Warning: [XMP] [ExifIFD]:DateTimeOriginal not mapped to [XMP-photoshop]:DateCreated (embedded).
Warning: [XMP] [IFD0]:Artist not mapped to [XMP-tiff]:Artist (embedded).
Warning: [XMP] [IPTC]:By-line not mapped to [XMP-tiff]:Artist (embedded).
Warning: [XMP] [IFD0]:Orientation not mapped to [XMP-tiff]:Orientation (embedded).
Warning: [XMP] [ExifIFD]:UserComment and [XMP-dc]:Description (embedded) mismatch.
Warning: [XMP] [ExifIFD]:UserComment and [XMP-dc]:Description (sidecar) mismatch.
Error: [Keywords] Different XMP keywords in embedded XMP record and sidecar file.
Error: [Keywords] Different keywords in IPTC and XMP (embedded).
Error: [Keywords] Flattened hierarchical XMP (sidecar) keywords don't match IPTC keywords.
Error: [Keywords] Flattened hierarchical XMP (sidecar) keywords don't match XMP keywords.
Warning: [Detailed Validation] Non-standard format (undef) for IFD0 0x8649 PhotoshopSettings
Warning: [Detailed Validation] IPTCDigest is not current. XMP may be out of sync


---

Metadata Analyst Results. Version 2023.3.6. 11/1/2023 8:41:33 AM
File analyzed: Y:\Imaging_Archive\Archive02\DSC_0914.NEF
Errors: 4
Warnings: 19

Warning: [System] File has unwritten metadata (pending write-back).<br/>The metadata loaded from the image and the data in the database may not match.
Warning: [Metadata] Warnings: 'IPTCDigest is not current. XMP may be out of sync'
Warning: [Legacy IPTC] Character Set Encoding: unspecified.
Warning: [Legacy IPTC] File contains more than one IPTC record.
Warning: [XMP] Embedded XMP record (Image::ExifTool 7.25) and XMP sidecar file (Nikon Transfer 1.0 W) found.
Warning: [XMP] [ExifIFD]:CreateDate not mapped to [XMP-xmp]:CreateDate (embedded).
Warning: [XMP] [ExifIFD]:DateTimeOriginal not mapped to [XMP-photoshop]:DateCreated (embedded).
Warning: [XMP] [IFD0]:Copyright and [XMP-dc]:Rights (embedded) mismatch.
Warning: [XMP] [IFD0]:Copyright and [XMP-dc]:Rights (sidecar) mismatch.
Warning: [XMP] [IFD0]:Artist not mapped to [XMP-tiff]:Artist (embedded).
Warning: [XMP] [IPTC]:By-line not mapped to [XMP-tiff]:Artist (embedded).
Warning: [XMP] [IFD0]:Orientation not mapped to [XMP-tiff]:Orientation (embedded).
Warning: [XMP] [ExifIFD]:UserComment not mapped to [XMP-dc]:Description (embedded).
Warning: [XMP] [ExifIFD]:UserComment and [XMP-dc]:Description (sidecar) mismatch.
Warning: [XMP] [IPTC]:Caption-Abstract not mapped to [XMP-dc]:Description (embedded).
Error: [Keywords] Different XMP keywords in embedded XMP record and sidecar file.
Error: [Keywords] Different keywords in IPTC and XMP (embedded).
Error: [Keywords] Flattened hierarchical XMP (sidecar) keywords don't match IPTC keywords.
Error: [Keywords] Flattened hierarchical XMP (sidecar) keywords don't match XMP keywords.
Warning: [Detailed Validation] Non-standard format (undef) for IFD0 0x8649 PhotoshopSettings
Warning: [Detailed Validation] IPTCDigest is not current. XMP may be out of sync
Warning: [Detailed Validation] [minor] Non-standard ExifIFD tag 0x882a TimeZoneOffset
Warning: [Detailed Validation] [minor] Non-standard IPTC at TIFF-Trailer-FotoStation-IPTC

Mario

Please attach a text file when you have to include a large amount of text in a post.
Else you fill the community search engine with "noise" and that's not good. Thank you.

The problem is clear:
Error: [Keywords] Different XMP keywords in embedded XMP record and sidecar file.
Error: [Keywords] Different keywords in IPTC and XMP (embedded).
Error: [Keywords] Flattened hierarchical XMP (sidecar) keywords don't match IPTC keywords.
Error: [Keywords] Flattened hierarchical XMP (sidecar) keywords don't match XMP keywords.

The files have both an embedded XMP record and XMP sidecar file. The contents of these don't match.
IMatch reads embedded XMP metadata for RAW files but does not update it. IMatch always uses XMP sidecar files for RAW files.

There is also legacy (IIM3) metadata in the NEF which contains keywords. The keywords "flatten" differently than the flat keywords in XMP. All this creates a mess and mix of metadata and keywords.

Suggestion: Remove the embedded XMP record in the NEF and also the legacy IPTC metadata.
Use the corresponding presets in the The ExifTool Command Processor
Once this is done there is only one source for XMP metadata and keywords - the XMP sidecar file.

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

maxbelloni


Quote from: Mario on November 01, 2023, 11:26:43 AMPlease attach a text file when you have to include a large amount of text in a post.
Else you fill the community search engine with "noise" and that's not good. Thank you.
I'm contrited. I'll not do it anymore.

Quote from: Mario on November 01, 2023, 11:26:43 AMSuggestion: Remove the embedded XMP record in the NEF and also the legacy IPTC metadata.
Use the corresponding presets in the The ExifTool Command Processor
Once this is done there is only one source for XMP metadata and keywords - the XMP sidecar file.
Thanks for the suggestion (more than a suggestion, a solution!). I have to figure out precisely how to do this, but this is another story and I will work hard on this!

maxbelloni

Mario

Tip: try with a few files first!

1. Select the NEF files with the problem (make a backup copy before, just in case) in a File Window
2. Tools menu > ExifTool Command Processor
3. Run the preset "Delete legacy IPTC (IIM) metadata"
4. Run the preset "Delete XMP Metadata"
5. Close the ExifTool Command Processor

IMatch rescans the files to update the database.

6. Write-back metadata. The data should be written without problems, no out-of-sync keywords anymore etc.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

maxbelloni

Fast and exhaustive (as always)  :D .

Thanks Mario!

Maxbelloni

maxbelloni

Everything went ok ;D , all fixed.

Thanks again Mario!

Maxbelloni

Mario

Very good.
Test with your other imaging applications and services to check if they can read the metadata written by IMatch.
Should be the case, unless they are not XMP-enabled or compliant.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook