Bug 398458 - Places tag hierarchy
Summary: Places tag hierarchy
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Keywords (other bugs)
Version First Reported In: 5.9.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-10 11:48 UTC by Steve Franks
Modified: 2023-05-01 16:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.1.0
Sentry Crash Report:


Attachments
Screenshot showing invisible tags (2.23 MB, image/png)
2018-09-10 11:48 UTC, Steve Franks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Franks 2018-09-10 11:48:14 UTC
Created attachment 114879 [details]
Screenshot showing invisible tags

I reread the metadata from a large number of tags. Digikam crashed and now doesn't show Places, or any of its child tags. They are still somewhere in the database, because digikam displays an error when I try to add a Places tag see attached.
Comment 1 caulier.gilles 2018-09-10 13:28:38 UTC
Probably the database file become corrupted while the crash.

Under Windows, playing with metadata is problematic with the low level Exiv2 library.

In 6.0.0, we introduce a guard, especially for Windows and C++ exception.

I recommend to rebuild your database with the current Windows 6.0.0-beta1 installer available here :

https://files.kde.org/digikam/

Take a care : make a database backup has 6.0.0 introduce new tables and break the backward compatibility with 5.9.0

Gilles Caulier
Comment 2 Maik Qualmann 2018-09-10 19:24:54 UTC
Sure that Places no longer exist? The screenshot does not give that. Because Places would come after Pets...

Maik
Comment 3 Steve Franks 2018-09-12 10:31:17 UTC
Places has reappeared after restarting digikam several times.
I will try 6.0.0, please can you tell me which files need to be backed up. When I copied files from my old laptop to new one digikam still started with an empty database, so I guess I didn't save the right files.
Comment 4 caulier.gilles 2020-08-01 16:11:06 UTC
digiKam 7.0.0 stable release is now published and now available as FlatPak:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2022-01-10 06:28:04 UTC
Hi Steve and happy new year,

To migrate to a new computer, backport the database files for your collections. Setup digiKam to point to the right place where database files are located.

There is also the main configuration file located in your home directory : /home/_YOU_/.config/digikamrc

And the XML data files customized by you : /home/_YOU_/.local/share/digikam

About collection UUID stored in a new disk, you will need to edit/update the identifier in collection setup page.

Please use  digiKam 7.5.0 pre-release Windows installer available here : https://files.kde.org/digikam/

Best

GIlles Caulier
Comment 6 caulier.gilles 2023-04-29 07:33:31 UTC
@Steve,

digiKam 8.0.0 is out. This entry still valid with this release ?

Best regards

Gilles Caulier
Comment 7 Steve Franks 2023-05-01 12:53:44 UTC
(In reply to caulier.gilles from comment #6)
> @Steve,
> 
> digiKam 8.0.0 is out. This entry still valid with this release ?
> 
> Best regards
> 
> Gilles Caulier

I haven't seen this error in any version since I reported it.
Regards
Steve