[Digikam-devel] [Bug 262074] no face are detected

Adam Spiers kde-bugs at adamspiers.org
Mon Jan 31 16:45:37 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=262074





--- Comment #32 from Adam Spiers <kde-bugs adamspiers org>  2011-01-31 17:45:35 ---
(In reply to comment #31)
> There may be a loophole. It's all depending on the dbconfig.xml
> file. It seems if the wrong file is used - from the 1.x version -
> the schema update action is null, but the update apparently
> succeeds. I will add a few safety nets to avoid such a problem.

Great, thanks!

> If you are a sure digikam uses the right dbconfig.xml - it's using
> /opt/digikam2/share/apps/digikam/database/dbconfig.xml for you atm -
> it should be sufficient that you only reduce the DBVersion flag in
> the settings table from 6 to 5, at the next restart the schema
> update will then be done. For the thumbnail db, from 2 to 1.

Yep - that fixed it for me:

sqlite3 Pictures/digikam4.db 'update settings set value = 5 where keyword =
"DBVersion"'
sqlite3 Pictures/thumbnails-digikam.db 'update settings set value = 1 where
keyword = "DBThumbnailsVersion"'

Now faces are being detected but there are other problems:

(1) The photos are not being tagged with 'People/Unknown'
(2) When I do a "Recognize faces" scan, it completes immediately with no
prompting - to find the detected faces, I have to manually scroll through the
photos (mentioned in bug 262212)
(3) The "Add a Face Tag" icon and entry in the right-click context menu don't
do anything (mentioned in bug 262212)

Let me know if I should submit new bugs for (1) and (3).

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list