All tagging lost

Andrey Goreev aegoreev at gmail.com
Tue Oct 17 19:36:11 BST 2017


Could you please post here: 
https://bugs.kde.org/show_bug.cgi?id=375346
I switched to mysql awhile ago, got this issue, got freaked out and switched back to sqlite and never looked back :)
Your database digging might actually help to find what is causing the issue.


Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: SkyDiver <skydivergm at gmail.com> Date: 2017-10-17  12:11 PM  (GMT-07:00) To: digikam-users at kde.org Subject: Re: All tagging lost 
If no one will help me I'll have to help myself.
So I dug deeper into the website and found how to get a dump of the trace
messages (DbgView.exe as I'm running on Windows), and then found the
following suspicious lines:

[18488] digikam.general: Failed to find parent tag for tag 
"_Digikam_Internal_Tags_"  with pid  -1
[18488] digikam.general: Failed to find parent tag for tag  "People"  with
pid  -1

Took a look at the tags table, and assuming pid = parent id and assuming
only _Digikam_root_tag_ I modified the above error tags' pid to 0
(_Digikam_root_tag_).

This fixed my issue and tags are now back.

One question remains: why were these values changed to -1 instead of 0?
I can promise I didn't mess with the DB up until today.



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20171017/0840c11b/attachment.html>


More information about the Digikam-users mailing list