Bug 188999 - XMP tags not imported properly
Summary: XMP tags not imported properly
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Xmp (show other bugs)
Version: 0.10.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 01:23 UTC by Lars Jacob
Modified: 2017-08-13 07:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Jacob 2009-04-07 01:23:49 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Gentoo Packages

I've got a 10k+ image collection and wanted to migrate it from f-spot to digikam. The picture tags are stored as XMP tags (dublin core, subject, default by f-spot). Digikam managed to import some tags, when I imported a subset of about 500 pictures. But when importing the rest it didn't work. I can see the tags in the Metada
Comment 1 Lars Jacob 2009-04-07 01:29:14 UTC
sorry my browser made mess...
continuing my description:
I can see the tags in the Metadata/XMP site tab, but if I use the "Read metadata from file to database" it just recognizes sometimes this tags, but only if I set up a equally named tag beforehand. But with some pictures it doesn't work at all or only the first tag.
If needed I can provide sample images.
Comment 2 caulier.gilles 2009-04-07 06:31:33 UTC
yes, please give us file samples to test

Gilles Caulier
Comment 3 Lars Jacob 2009-04-07 14:57:15 UTC
Ok here are three pictures which I imported together with others from a folder. 

http://jaclar.files.wordpress.com/2009/04/dsc05372.jpg
tag didn't got detected

http://jaclar.files.wordpress.com/2009/04/dsc05373.jpg
only one (diashow) of two (diashow,Cataratas) got detected

http://jaclar.files.wordpress.com/2009/04/dsc05404.jpg
both included tags (diashow,Cataratas) got detected

I imported this folder twice because I wanted to make sure that this behaviour is reproducible. And yes, digikam showed in both cases the same behaviour.

Another observation I made: I made a new tag by hand and after a restart of digikam some pictures got this tag. But not all of them.

Thanks a lot for your help!
Comment 4 caulier.gilles 2009-06-19 09:34:40 UTC
Marcel,

I can reproduce this problem only in one situation.

1/ digiKam do not run. copy all files in collection and start digiKam. during scan at startup all is imported properly.

2/ digiKam run. copy all in collection : change detection performed by KDirWatch found new item by tags are not created properly.

Question : this is not the same code for both cases ?

Lars, can you confirm my investigations ?

Gilles Caulier
Comment 5 caulier.gilles 2009-07-11 12:02:50 UTC
Marcel,

Are you see my comment #4 ?

I think this problem will be solved when Startup scan code will be used with KDirWatch relevant code from digiKam. right ?

Gilles
Comment 6 Marcel Wiesweg 2009-07-12 16:56:50 UTC
The scanning code in the end is the same for both situations (ImageScanner).

I just tested adding the images with digikam running, by dragging from here into main view. My results:
5372: /Cataratas
5373: /Cataratas, /diashow
5404: /Cataratas, /diashow

So I cannot reproduce any problem here.
Comment 7 caulier.gilles 2009-07-20 12:00:10 UTC
Ok, i close this file as WORKFORME using digiKam 1.0.0-beta3

Gilles Caulier