Bug 180050 - Metadata from external program not showing
Summary: Metadata from external program not showing
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Interroperability (show other bugs)
Version: 0.10.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-08 18:48 UTC by Martin Eriksson
Modified: 2017-08-12 21:16 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0
Sentry Crash Report:


Attachments
Proof that it works (126.11 KB, image/png)
2009-01-10 23:33 UTC, Marcel Wiesweg
Details
Not showing iptc in thumbnailview (476.98 KB, image/png)
2009-01-11 12:42 UTC, Martin Eriksson
Details
configure album (103.96 KB, image/png)
2009-01-11 21:03 UTC, Martin Eriksson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Eriksson 2009-01-08 18:48:45 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

Can't see metadata on jpegs created by LightRoom. This is new files whitch not are in the database. I can see the metadata in Nautilus file-info and Picasa.

Version 0.10.0-rc1 (rev.: 891281)
Using KDE 4.1.3 (KDE 4.1.3)
Comment 1 Martin Eriksson 2009-01-08 18:50:53 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"
Comment 2 caulier.gilles 2009-01-08 19:02:58 UTC
Martin,

Which Exiv2 library you use ?

Andreas, I CC you for info.

Gilles Caulier
Comment 3 caulier.gilles 2009-01-08 19:03:53 UTC
Martin,

Also, which metadata do you want to see exactly: from Exif, Iptc, or Xmp ?

Gilles Caulier
Comment 4 Marcel Wiesweg 2009-01-08 21:36:29 UTC
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.
Comment 5 Marcel Wiesweg 2009-01-10 23:33:12 UTC
Created attachment 30115 [details]
Proof that it works
Comment 6 Marcel Wiesweg 2009-01-10 23:39:23 UTC
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

Comment 7 Andreas Huggel 2009-01-11 06:34:35 UTC
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.
Comment 8 Martin Eriksson 2009-01-11 12:42:17 UTC
Created attachment 30124 [details]
Not showing iptc in thumbnailview
Comment 9 Martin Eriksson 2009-01-11 12:46:54 UTC
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.
Comment 10 Martin Eriksson 2009-01-11 12:51:26 UTC
exiv2 -V: exiv2 0.18

ok, and yes exiv2 -PEIXkyct .../_dsc1406_lr_adob_50.jpg shows what i want.
Comment 11 caulier.gilles 2009-01-11 19:15:44 UTC
>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
Comment 12 Martin Eriksson 2009-01-11 21:03:46 UTC
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?
Comment 13 caulier.gilles 2009-01-11 21:16:17 UTC
no this is the right settings.
Gilles Caulier
Comment 14 Marcel Wiesweg 2009-01-12 16:26:27 UTC
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?
Comment 15 Martin Eriksson 2009-01-12 17:56:20 UTC
(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!?
Comment 16 Martin Eriksson 2009-01-12 19:18:20 UTC
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".
Comment 17 Marcel Wiesweg 2009-01-12 21:16:16 UTC
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?
Comment 18 Martin Eriksson 2009-01-12 21:30:03 UTC
(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.
Comment 19 caulier.gilles 2009-01-23 21:22:51 UTC
Marcel,

this file will be fixed for 0.10.0 ?

Gilles