[digiKam-users] "Orphaned" Digikam Tags

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] "Orphaned" Digikam Tags

Aliks
I have used Digikam for years to manage my bird photo library, with tags for
the bird name and bird species/family.  Example: A photo of a Hooded Vulture
is tagged:

Wildlife|Birds|Accitripidae Vultures|Hooded Vulture

Over the years bird species get merged or split so I have I have reorganised
the tag hierarchy many times.  Its now a largish photo library, and losing
tags would be painful so I have been tracking down all the errors and
glitches and fixing them one by one.

What's left is a set of 20 error messages which show at startup time, which
appear to refer to "orphaned" tags, for example:

Digikam::AlbumManager::scanTAlbums: Failed to find parent tag for tag
"African Wattled Lapwing"  with pid  210

There is currrently no tag "African Wattled Lapwing" showing in the Tag
Manager, if I create this tag and restart digikam, the error message
remains. If I delete the newly created tag, still the same error message.

Should I be worried about a corrupt tag database, or just ignore these
messages?



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: "Orphaned" Digikam Tags

Maik Qualmann
Ignoring the problem would not be so good. Do you use SQLite or MySQL and
which digiKam version exactly?

1. Backup the database
2. Use at least digiKam-6.0.0, if not available, use the AppImage.
3. If using SqLite as a database, just use the database migration tool to copy
the existing database into a new one. This fixes bugs, but should not remove
any tags that still exist.
4. Copy the new database over the old one.

Maik

Am Donnerstag, 14. März 2019, 13:05:50 CET schrieb Aliks:

> I have used Digikam for years to manage my bird photo library, with tags for
> the bird name and bird species/family.  Example: A photo of a Hooded
> Vulture is tagged:
>
> Wildlife|Birds|Accitripidae Vultures|Hooded Vulture
>
> Over the years bird species get merged or split so I have I have reorganised
> the tag hierarchy many times.  Its now a largish photo library, and losing
> tags would be painful so I have been tracking down all the errors and
> glitches and fixing them one by one.
>
> What's left is a set of 20 error messages which show at startup time, which
> appear to refer to "orphaned" tags, for example:
>
> Digikam::AlbumManager::scanTAlbums: Failed to find parent tag for tag
> "African Wattled Lapwing"  with pid  210
>
> There is currrently no tag "African Wattled Lapwing" showing in the Tag
> Manager, if I create this tag and restart digikam, the error message
> remains. If I delete the newly created tag, still the same error message.
>
> Should I be worried about a corrupt tag database, or just ignore these
> messages?
>
>
>
> --
> Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html




Reply | Threaded
Open this post in threaded view
|

Re: "Orphaned" Digikam Tags

Aliks
To answer your questions:

The same problem has been present for over a year, across several 5.x.x
versions.  Currently I am using the 6.0.0 appimage and SQLite database.

As suggested, I used the migration tool to migrate the database, but this
made no difference - the orphan tag messages are all still showing at
startup time.

Is it possible that some tags are attached to files which are not images, eg
xxxxxx.jpg.xmp ??

One other random error message at startup:

/tmp/.mount_digikak4sUt2/AppRun: line 21: [: missing `]'

Probably not relevant

David



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: "Orphaned" Digikam Tags

Gilles Caulier-4


Le lun. 18 mars 2019 à 15:05, Aliks <[hidden email]> a écrit :
To answer your questions:

The same problem has been present for over a year, across several 5.x.x
versions.  Currently I am using the 6.0.0 appimage and SQLite database.

As suggested, I used the migration tool to migrate the database, but this
made no difference - the orphan tag messages are all still showing at
startup time.

Is it possible that some tags are attached to files which are not images, eg
xxxxxx.jpg.xmp ??

One other random error message at startup:

/tmp/.mount_digikak4sUt2/AppRun: line 21: [: missing `]'

Probably not relevant


==> for this one, yes. Just a bad space encoding in bash script... Already fixed to 6.1.0. No side effect.

Gilles Caulier