Bug 329975 - Metadata tag is never (re-)read from image
Summary: Metadata tag is never (re-)read from image
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Hub (show other bugs)
Version: 3.5.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 21:01 UTC by Simon
Modified: 2017-08-13 15:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2014-01-14 21:01:47 UTC
I have a funny problem here. My setup is that I have a laptop and a PC, and synchronise the pictures with rsync. Usually this is no problem, captions, tags, etc. get updated automatically.

One time it failed though, and I have not the slightest idea why, also the next time it worked again with the newly synchronised pictures. The pictures from the one run where it did not work still do not have the added tags.

I tried Album > Reread Metadata from Images. This works, BUT I cannot do this for all 600 albums as I have no idea where else I have images that are affected by this bug.
Then I tried to remove and re-add the collection in the settings dialog. Digikam then scanned all images, I guess, but STILL did not update the tags on the affected images. Is all information about collections cached somewhere even when I remove it from Digikam?
Finally I did Collection > Reread Metadata from Images … ah no, sorry, this does not exist anymore in this version :P

I'm now going to try deleting the sqlite database because I really do need the tags now. Or rename it, for debugging purposes.


Maybe there is not a way to prevent this from happening on synchronisation. But then, at least there should be an option to re-check ALL metadata without having to do some hacks.

Reproducible: Sometimes
Comment 1 Simon 2014-01-14 21:25:08 UTC
(Update: Moving the DB and importing the collection from scratch gladly fixed the symptom. But not the cause :) )
Comment 2 caulier.gilles 2014-01-15 08:53:43 UTC
> Finally I did Collection > Reread Metadata from Images … ah no, sorry, this does not exist anymore in this version :P

The right menu option is Image/Reread Metadata from Image

You can also use Tools/Maintenance and select collection to parse with right metadata workflow...

Gilles Caulier
Comment 3 Simon 2014-01-15 20:52:20 UTC
(In reply to comment #2)
> > Finally I did Collection > Reread Metadata from Images … ah no, sorry, this does not exist anymore in this version :P
> 
> The right menu option is Image/Reread Metadata from Image

Yes, but this only re-reads the metadata for the selected images, and I don't think I want to select 34999 images. You never know if your cat hits DEL the wrong moment.

> You can also use Tools/Maintenance and select collection to parse with right
> metadata workflow...

Sync Metadata and Database?
Comment 4 caulier.gilles 2014-01-15 21:31:46 UTC
>Sync Metadata and Database?

yes it is, using right flow direction of course...

Gilles Caulier
Comment 5 caulier.gilles 2014-08-28 16:22:05 UTC
Simon, 

This file still valid using last digiKam 4.2.0 ?

Gilles Caulier
Comment 6 caulier.gilles 2014-09-02 11:36:38 UTC
Veaceslav,

Another file to check, in case of it can be closed for next 4.3.0...

Gilles
Comment 7 Veaceslav Munteanu 2014-09-02 12:19:57 UTC
Yes, I think it can be closed, digiKam has a lot of options to re-read all metadata or to write it back.
Comment 8 caulier.gilles 2014-09-02 12:22:20 UTC
Thanks. I close it now...
Gilles