Bug 219937 - Allows to create directory while renaming in BQM.
Summary: Allows to create directory while renaming in BQM.
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: BatchQueueManager-Workflow (show other bugs)
Version: 1.0.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 11:44 UTC by Leo
Modified: 2023-04-20 05:57 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leo 2009-12-24 11:44:34 UTC
Version:           rc..-rc (using 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.31-17-generic

Hi all, 

I was trying the following string << [dir]{firstupper}/[file]{lower}_LM >> with the customize filenames function, hoping that it will create the [dir] directory, but when I try to run the batch the batch history gives me the "failed to save item" error. 

FYI the destination dir is 777

Am I doing something wrong or it is a not possible function?

Leo
Comment 1 caulier.gilles 2009-12-24 11:59:44 UTC
Which digiKam release you use ? 

Gilles Caulier
Comment 2 Leo 2009-12-24 15:22:44 UTC
(In reply to comment #1)
> Which digiKam release you use ? 
> 
> Gilles Caulier

digikam:1.0.0~rc-1ubuntu1~karmic3   (kde 4.3.85)
Comment 3 caulier.gilles 2009-12-24 16:16:34 UTC
Try 1.0.0 final release published few day ago...

Gilles Caulier
Comment 4 Leo 2009-12-25 00:24:45 UTC
(In reply to comment #3)
> Try 1.0.0 final release published few day ago...
> 
> Gilles Caulier

I will, as soon new deb will be available... tnx

Leo
Comment 5 Andi Clemens 2009-12-26 16:45:07 UTC
This bug is related to BQM, not AdvancedRename. 
AdvancedRename actually just creates the new names, it is the tool that must do proper work with this name.
Comment 6 Jens Mueller 2010-01-08 17:51:13 UTC
IMHO, the right place is http://lxr.kde.org/source/extragear/graphics/digikam/libs/dimg/dimg.cpp#571 If a directory does not exist, it should be created.
Question: is this the right place to do so?

Second, optional there can be a warning dialog in BQM to ask for the creation of the output directory of each image and proceed or not. But with the right rename syntax you can put every image of a queue in its own directory and probably create a lot of these warnings.
Comment 7 caulier.gilles 2010-01-09 13:59:20 UTC
This is definitively something to implement in BQM code, not DImg.

Gilles
Comment 8 caulier.gilles 2020-08-03 05:06:24 UTC
digiKam 7.0.0 stable release is now published:

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

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

Best Regards

Gilles Caulier
Comment 9 Maik Qualmann 2020-12-28 06:46:48 UTC
*** Bug 430876 has been marked as a duplicate of this bug. ***