Summary: | Can't write XMP tags: to file Unknown namespace prefix for qualified name | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Roberto <betokella> |
Component: | Metadata-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | metzpinguin |
Priority: | NOR | ||
Version: | 8.3.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/-/commit/7658d1e2e3584028346e4ad4393230019dbfb4ba | Version Fixed In: | 8.3.0 |
Sentry Crash Report: | |||
Attachments: |
Picture with issue
Original image XMP PS edited image XMP Out of the cel XML |
Description
Roberto
2024-02-24 12:01:35 UTC
I suspect a Google Pixel image based on the filename, this is fixed in digiKam-8.3.0. See Bug 478899 and Bug 481268 Per-Release digiKam-8.3.0: https://files.kde.org/digikam/ Maik Log from latest 8.3: [15312] digikam.metaengine: "PXL_4487.JPG" ==> New Iptc Keywords: QList("Faces area range 10", "Mia", "Collections", "Portraits") [15312] digikam.metaengine: MetaEngine::metadataWritingMode 0 [15312] digikam.metaengine: Will write Metadata to file "PXL_4487.JPG" [15312] digikam.metaengine: wroteComment: true [15312] digikam.metaengine: wroteEXIF: true [15312] digikam.metaengine: wroteIPTC: true [15312] digikam.metaengine: wroteXMP: true [15312] digikam.metaengine: Exiv2 ( 3 ) : XMP Toolkit error 102: Unknown namespace prefix for qualified name [15312] [15312] digikam.metaengine: Exiv2 ( 3 ) : Failed to encode XMP metadata. [15312] [15312] digikam.metaengine: File time stamp restored [15312] digikam.metaengine: Metadata for file "2021-05-16 01h02 PXL_4487.JPG" written to file. Created attachment 166061 [details]
Picture with issue
Git commit 7658d1e2e3584028346e4ad4393230019dbfb4ba by Maik Qualmann. Committed on 24/02/2024 at 14:49. Pushed by mqualmann into branch 'master'. fix duplicate namespace URI registration for Google item container FIXED-IN: 8.3.0 M +1 -1 NEWS M +12 -4 core/libs/metadataengine/engine/metaengine.cpp https://invent.kde.org/graphics/digikam/-/commit/7658d1e2e3584028346e4ad4393230019dbfb4ba Do you still have an original image to compare whether Google created duplicate namespace URIs across Pixel Phone generations? Or whether your sample image was created incorrectly by Photoshop. Maik Attached output from exiftool -xmp -b for both original image and PS edited. Does this help? Created attachment 166067 [details]
Original image XMP
Created attachment 166068 [details]
PS edited image XMP
The xmp from the original image has already been processed by Adobe Photoshop CS6. Maik Created attachment 166076 [details]
Out of the cel XML
Ok, then Adobe seems to have created duplicate elements under the same namespace URI: Google: http://ns.google.com/photos/1.0/container/ -> Container http://ns.google.com/photos/1.0/container/item/ -> Item Adobe: http://ns.google.com/photos/1.0/container/ -> GContainer http://ns.google.com/photos/1.0/container/item/ -> GContainerItem Maik |