Summary: | Metadata from external program not showing | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Martin Eriksson <tre1121> |
Component: | Portability-Interroperability | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahuggel, caulier.gilles, marcel.wiesweg |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.10.0 | |
Sentry Crash Report: | |||
Attachments: |
Proof that it works
Not showing iptc in thumbnailview configure album |
Description
Martin Eriksson
2009-01-08 18:48:45 UTC
Forgot output from terminal: digikam(26651) KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot load metadata using Exiv2 (Error # 11 : /home/martin/Bilder/2008/0812 December/2008-12-13/_DSC1713_lr_adob_90-3.jpg: The file contains data of an unknown image type digikam(26651) Digikam::DImg::load: "/home/martin/Bilder/2008/0812 December/2008-12-13/_DSC1713_lr_adob_90-3.jpg" : JPEG file identified digikam(26651) Digikam::ImageScanner::addImage: Adding new item "/home/martin/Bilder/2008/0812 December/2008-12-13/_DSC1713_lr_adob_90-3.jpg" digikam(26651) Digikam::ScanControllerLoadingCacheFileWatch::slotImageChanged: 21266 "/home/martin/Bilder/2008/0812 December/2008-12-13/_DSC1713_lr_adob_90-3.jpg" digikam(26651) Digikam::isJpegImage: mimetype = "JPEG" digikam(26651) KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot load metadata using Exiv2 (Error # 11 : /home/martin/Bilder/2008/0812 December/2008-12-13/_DSC1713_lr_adob_90-3.jpg: The file contains data of an unknown image type digikam(26651) Digikam::isJpegImage: mimetype = "" digikam(26651) KDcrawIface::KDcraw::loadEmbeddedPreview: Failed to load embedded RAW preview digikam(26651) Digikam::DImg::load: "/home/martin/Bilder/2008/0812 December/2008-12-13/_DSC1713_lr_adob_90-3.jpg" : JPEG file identified digikam(26651) KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot load metadata using Exiv2 (Error # 11 : /home/martin/Bilder/2008/0812 December/2008-12-13/_DSC1713_lr_adob_90-3.jpg: The file contains data of an unknown image type digikam(26651) Digikam::ThumbnailCreator::load: Cannot create thumbnail for "/home/martin/Bilder/2008/0812 December/2008-12-13/_DSC1713_lr_adob_90-3.jpg" Martin, Which Exiv2 library you use ? Andreas, I CC you for info. Gilles Caulier Martin, Also, which metadata do you want to see exactly: from Exif, Iptc, or Xmp ? Gilles Caulier Please give us a sample picture. Either attach it here, or send it to my private address and I will upload it to our collection of test images. Created attachment 30115 [details]
Proof that it works
As you see in the screenshot everything works as it should for me. There is full Exif and XMP, Makernote is empty, IPTC has caption and keywords. As you see, tags, caption and rating are imported. This means there is something wrong with your setup; what is your exiv2 version? exiv2 -V Does the exiv2 utility fail as well? exiv2 -PEIXkyct .../_dsc1406_lr_adob_50.jpg exiv2 -PEIXkyct ... Some of these options only work with exiv2 version 0.18. If you don't have 0.18 yet, I suggest you upgrade. -ahu. Created attachment 30124 [details]
Not showing iptc in thumbnailview
Comment on attachment 30124 [details]
Not showing iptc in thumbnailview
I have tried with two different ppa-built .deb packages.
Now i have compiled the official exiv2-0.18 and recompiled Digikam.
Digikam reads iptc but it doesn't show in thumbnail-view.
I attach a screendump.
exiv2 -V: exiv2 0.18 ok, and yes exiv2 -PEIXkyct .../_dsc1406_lr_adob_50.jpg shows what i want. >Digikam reads iptc but it doesn't show in thumbnail-view
But are you set on the right option in digiKam config panel ?
Gilles Caulier
Created attachment 30141 [details]
configure album
Tried with everything checked, I see all other data, but no keywords. Are there any other options i can change?
no this is the right settings. Gilles Caulier Try to select the image, go to the Caption/Tags panel on the right sidebar, More -> Read metadata from file to database Has this any effect? (In reply to comment #14) > Try to select the image, go to the Caption/Tags panel on the right sidebar, > More -> Read metadata from file to database > Has this any effect? > YES!! I't has effect! Very good! Yesterday i run "Tools/Update Metadata Database" that didn't solve it but maybe that's something else!? If i remove iptc keyword and rating from a NEF externally, then i do this: Caption/Tags panel on the right sidebar, More -> Read metadata from file to database. The rating disappears from thumbnail view but keywords are still there, no matter if i update or synchronize database. I can neither add a new keyword to this externally edited file, i can with exiv2 command line, but not via digiKam. I add keywords and select multiple files and select "Write medatada to each file". You have to differentiate: Rating and tag is stored in digikam's database. For new pictures, information is read from metadata to db. If the options are set, rating/tags are written from db to metadata. If you change rating/tag in metadata externally, you (currently) have to use More->read from metadata to db. Btw, the original bug is fixes now? (In reply to comment #17) > You have to differentiate: > Rating and tag is stored in digikam's database. > For new pictures, information is read from metadata to db. > If the options are set, rating/tags are written from db to metadata. > If you change rating/tag in metadata externally, you (currently) have to use > More->read from metadata to db. > > Btw, the original bug is fixes now? > Ooh, sorry, i deleted my digikamrc yesterday to try if that was wrong somewhere, then i lost the settings to write to raw. Yes, if i read the files manually. that's ok for me. Marcel, this file will be fixed for 0.10.0 ? Gilles |