Bug 249023 - Running the batch queue twice on same target directory fails with "Failed to save item..."
Summary: Running the batch queue twice on same target directory fails with "Failed to ...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: BatchQueueManager-Workflow (show other bugs)
Version: 1.2.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 19:23 UTC by Alain Knaff
Modified: 2016-07-04 05:55 UTC (History)
2 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 Alain Knaff 2010-08-25 19:23:32 UTC
Version:           1.2.0 (using KDE 4.4.2) 
OS:                Linux

When running the batch queue manager twice with the same target directory (but different source files), it fails the second time with "Failed to save item...".
It doesn't say _why_ it failed to save the item though...

Reproducible: Always

Steps to Reproduce:
1. Open the batch queue manager
2. Chose a target directory,
3. In behavior, select "Overwrite automatically"
4. In "File renaming", select "Use original filenames"
5. Add a couple of tools to the queue (such as Brightness/Contrast/Gamma and Color Auto-Correction: Auto Exposure)
6. In main window, select a couple of photos, and add them to the batch queue using Ctrl-B
7. Run the batch queue using the "Run" icon in the batch queue manager
8. After everything is completed, optionally clear the queue
9. Add some more items to the queue
10. Run it again

Actual Results:  
On the second run, the actual processing steps succeed, but the result can't be saved. Instead "Failed to save item..." is displayed.

A second run works fine if I change the target directory in between the runs. Fortunately changing it to a different directory, and then back to the same works too.

Expected Results:  
I should be able to run the queue as many times I like, without fiddling with the target directory in between runs

OS: Linux (x86_64) release 2.6.32-23-generic
Compiler: cc
Comment 1 Alain Knaff 2010-08-25 23:07:46 UTC
Found out something:

When adding a picture to the queue, at first only the file name column is filled in, and but the target column. That column only gets initialized when changing the target directory.

Running the queue fails with each picture whose target column is still blank.
Comment 2 caulier.gilles 2012-12-21 11:49:02 UTC
Problem still valid using last 2.9.0 stable release ?

Gilles Caulier
Comment 3 Shourya Singh Gupta 2014-03-28 09:27:44 UTC
This bug no longer exists. It is working fine now.
Comment 4 caulier.gilles 2014-03-28 11:13:04 UTC
Thanks for the feedback

Gilles Caulier