[Pkg-kde-extras] Bug#842610: digikam lost track of photos when renaming an album

Agustin Martin agmartin at debian.org
Thu Feb 6 12:35:32 GMT 2020


On Sun, Oct 30, 2016 at 08:38:03PM +0100, Vincent Danjean wrote:
> Package: digikam
> Version: 4:5.2.0-2
> Severity: normal
> 
>   Hi,
> 
>   First, note that my digikam version is 4:5.2.0-2.1 instead of
> 4:5.2.0-2 because I recompile it locally with -DENABLE_MEDIAPLAYER=on
> (see #834131).
> 
>   I'm using digikam with a mysql database (since a long time).
> Today, I noticed a bug when renaming albums. It seems that this
> renaming is not taken into account in all internal data
> structure.
>   Here is what happen for example:
> 1) I renamed an album from Bricolage2 to Bricolage
>   Everything seems working. I still see the 3 photos in
>   this album.
> 2) I renamed the 3 photos in this album (using 'F2' and
>   automatic rules for mass renaming). The result is
>   strange:
>   * digikam still shows the thumbnails with the old name
>   * on disk, the pictures have really be renames (with their
>     *.xmp files too)
>   * when trying to see the photo in big size, I get a blank
>     page
>   * In log log below, you can see that after the rename
>     from IMG_* to date_time_IMG_* of photo filenames,
>     digikam print:
> digikam.database: Starting scan!
> digikam.database: Folder does not exist or is not readable:  "/home/vdanjean/photos/albums/Activités/Bricolage2"
>     This is not normal that a reference to Bricolage2 still exists
>     at this time. Then, access to photos (with the old name) fail:
> digikam.dimg: File  "/home/vdanjean/photos/albums/Activités/Bricolage/IMG_20130731_134231.jpg"  does not exist
> digikam.metaengine: Cannot load metadata from file   (Error # 9 :  /home/vdanjean/photos/albums/Activités/Bricolage/IMG_20130731_134231.jpg : Impossible d'ouvrir la source de données : Aucun fichier ou dossier de ce type (errno = 2)
> ...
> 
>   If I quit digikam and restart it, it cleans up the mess itself,

Hi, Vincent

Triaging old bug reports. Is this still a problem with current digikam
(6.4.0 in sid)? I tried some simple renamings with 6.4.0 and seems to work.

Regards,

-- 
Agustin



More information about the pkg-kde-extras mailing list