Bug 286770

Summary: Unknown face tag no longer shows any items, even though there are unlabelled face tags in images.
Product: [Applications] digikam Reporter: Jonathan Stafford <staffijol>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, staffijol
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.3.0
Sentry Crash Report:

Description Jonathan Stafford 2011-11-16 10:44:52 UTC
Version:           2.1.1 (using KDE 4.7.2) 
OS:                Linux

I was working on tagging faces in my photo collection. I scanned the collection for faces, and then was working through the list of detected faces in the "unknown" face tag assigning relevant people tags. After some time, I noticed some activity on my hard drive LED, and then all the faces disappeared.
If I go to individual photos there are still face tags without people assigned, but nothing shows up under the "unknown" face tag.
If I start digikam from the command line, and then click on the "unknown" face tag I get the following message in the console:
digikam(5301)/digikam (core) Digikam::ImageAlbumModel::slotResult: Failed to list url:  "Internal Error
Please send a full bug report at http://bugs.kde.org

Reproducible: Didn't try
Comment 1 caulier.gilles 2011-11-16 10:53:10 UTC
and it still reproducible with 2.3.0 release ?

Gilles Caulier
Comment 2 Jonathan Stafford 2011-11-17 09:18:47 UTC
I upgraded to 2.3.0 and it still does not show anything against the "unknown" face tag, but has unlabelled faces visible on individual photos.

When I first start digikam from a terminal it initially comes up with the following lines:

QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam(9130)/digikam (core) Digikam::ImageInfoJob::slotResult: Failed to list url:  "" 
digikam(9130)/digikam (core) Digikam::ImageInfoJob::slotResult: Failed to list url:  ""

And then if I click on the "unknown" face tag the following shows up:

digikam(9130)/digikam (core) Digikam::ImageAlbumModel::slotResult: Failed to list url:  "Internal Error
Please send a full bug report at http://bugs.kde.org
 "

Jonathan Stafford
Comment 3 Marcel Wiesweg 2012-02-20 21:05:59 UTC
Crashing ioslave? Have a look at the last lines of the ~/.xsession-errors file while the problem occurs.
Comment 4 caulier.gilles 2014-08-24 12:15:29 UTC
Jonathan,

Do you previous comment from Marcel ?

Can you reproduce the dysfunction using last digiKam 4.2.0 ?

Gilles Caulier
Comment 5 caulier.gilles 2014-08-24 17:20:35 UTC
Work as expected using current implementation from git/master

Gilles Caulier