Bug 336126 - Batch renaming is broken : file just renamed cannot be found
Summary: Batch renaming is broken : file just renamed cannot be found
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-file (show other bugs)
Version: 4.2.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-12 12:32 UTC by DrSlony
Modified: 2022-01-31 21:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2014-06-12 12:32:43 UTC
I have four subdirs each with a few images inside. They are most definitely there, confirmed through a console and file manager. In digiKam I have View > Include Album Sub-Tree ticked. I select all of the images in all four subfolders, F2, [dir]{replace:" ","_"}_#[f] and click OK
http://i.imgur.com/Df5f4e7.png
digiKam renames the first image from hdr_1_01.dng to 1_1.dng and fails, complaining that the file it just renamed does not exist: "The file or folder /run/media/drslony/usb_data/photos_purgatory/2014-06-08 soderasens/1/hdr_3_11.dng does not exist"
Of course not, it just renamed it.
http://i.imgur.com/NNCZdLp.png

I reverted the renamed files back to their original names, ran Tools > Maintenance, even restarted digiKam. F2 and the same problem. Further I got was renaming three files.
Renaming does not continue, I have to abort it.

Reproducible: Always
Comment 1 DrSlony 2014-08-06 22:32:23 UTC
Boo.
Comment 2 caulier.gilles 2015-05-17 07:56:57 UTC
Dotan,

Same problem with last 4.10.0 ?

Gilles Caulier
Comment 3 DrSlony 2015-05-17 09:45:39 UTC
I cannot reproduce in 4.10.0.