Bug 292120 - batch rename returns 'file does not exist' during rename
Summary: batch rename returns 'file does not exist' during rename
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-file (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-21 16:15 UTC by AT
Modified: 2022-01-31 21:57 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AT 2012-01-21 16:15:01 UTC
Version:           2.5.0 (using KDE 4.7.4) 
OS:                Linux

When batch renaming images (scheme: name-##[e]) the batch returns a 'file does not exist' after renaming about 50-80% of images, even though the selected images obviously exist. Depending on the situation I have to re-run the batch once or twice to rename all files.

Reproducible: Sometimes

Steps to Reproduce:
Mark all images in folder and hit f2. Doesn't happen all the time though.

Actual Results:  
Have to run batch rename 2-3 times to rename all images in folder, as returning 'file does not exist'.

Expected Results:  
Rename all marked images in one go.

Seems to me like dk is writing the new name of an image while still working with it, so file name is already new, but dk still looking for old name but not finding it any more. Just my hunch, though.
Comment 1 Michael Holtermann 2012-02-12 19:01:26 UTC
Same here, digikam 2.5, KDE 4.7.4.
Comment 2 stef 2012-04-02 20:53:15 UTC
Similar  thing here, but I'm ending up *always* with non-existing images with the original names in the folder after renaming in batch (only sometimes it hangs with the error "not existing file". 

Same occurs when moving images to another folder, the files are deleted on the disk but show still up in digikam, no way to get rid of them.

Version 2.5.0
Con piattaforma di sviluppo KDE 4.8.1 (4.8.1) arch linux
Comment 3 Gabor Karsay 2013-08-29 16:44:07 UTC
I had this issue while renaming movies that had no thumbnails. I installed ffmpegthumbs which created thumbnails, now also renaming works as expected.

Before that it would rename 1 or 2 movies and then say that the file does not exist. I had to repeat it several times to rename all movies.

My system is Ubuntu 12.04, it didn't work with packaged digikam 2.5.0 nor with self-compiled digikam 2.9.0. After installing ffmpegthumbs it works with self-compiled digikam 2.9.0.
Comment 4 caulier.gilles 2013-12-04 17:55:05 UTC
To all in this file : 

Problem still reproducible with digiKam 3.5.0 ?

Gilles Caulier
Comment 5 stef 2013-12-16 11:05:11 UTC
Not at all, never happens anymore.