https://bugs.kde.org/show_bug.cgi?id=519841

            Bug ID: 519841
           Summary: Exiv2 error exception writing metadata even delegating
                    exiftool all operations to write metadata
    Classification: Applications
           Product: digikam
      Version First 9.0.0
       Reported In:
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: Metadata-Engine
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 192078
  --> https://bugs.kde.org/attachment.cgi?id=192078&action=edit
a file with this problem

I have a set of pictures where Digikam fails silently to write metadata
(caption or title for example) on the file : it set the metadata in the
database but not in the file.

Running with debug I can see Digikam try to use Exiv2 instead of exiftool (even
Check ExifTool availability: true) and exiv2 crashes with "Error # 38 : 
"Taille du segment JPEG XMP est plus grand que 65535 octets". See debug log
below.

Digikam is configurated to delegate exiftool all operations to write metadata
but it seems it does not do that.
> exiftool on these files is ok, no error

debut output related to this sequence:
digikam.general: No write to baloo +++++++++++++++++++++++++++++++++++++
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool "Load Chunks" "-TagsFromFile
/home/michel/Images/famille/photo-video/2025/2025-05/2025-05-01_20h16-54.jpg
-all:all -icc_profile -o -.exv"
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action "Load Chunks" with
elapsed time (ms): 190
digikam.metaengine: EXV chunk size: 83208
digikam.metaengine: ExifTool parsed command for action "Load Chunks" 1
properties decoded
digikam.metaengine: ExifTool complete "Load Chunks" for
"/home/michel/Images/famille/photo-video/2025/2025-05/2025-05-01_20h16-54.jpg"
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Loading metadata with "ExifTool" backend from
"/home/michel/Images/famille/photo-video/2025/2025-05/2025-05-01_20h16-54.jpg"
digikam.general: Writing tags
digikam.metaengine: MetaEngine::metadataWritingMode 0
digikam.metaengine: Will write Metadata to file
"/home/michel/Images/famille/photo-video/2025/2025-05/2025-05-01_20h16-54.jpg"
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: Cannot export changes with Exiv2 backend:   (Error # 38 : 
"Taille du segment JPEG XMP est plus grand que 65535 octets")
digikam.metaengine: Exiv2 error exception for "2025-05-01_20h16-54.jpg" Writing
of metadata aborted!
digikam.general: Threads Pool "" will use 8 threads
digikam.general: Action Thread run 1 new jobs
digikam.general: One job is done Digikam::TagsJob(0x5613001f5b40) time: 28
digikam.general: Finish Main Thread

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to