[Digikam-devel] [digikam] [Bug 294602] On import, sub-subfolders cannot be created

Henrique Santos Fernandes sf.rique at gmail.com
Sun Jun 8 22:36:44 BST 2014


https://bugs.kde.org/show_bug.cgi?id=294602

Henrique Santos Fernandes <sf.rique at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sf.rique at gmail.com

--- Comment #13 from Henrique Santos Fernandes <sf.rique at gmail.com> ---
I am using digikam 4.0.0

I have the same "problem"

When i import images, i wont it to be organized like this:

[Folder of year ] / [Folder of month] / [Folder of day ] / [ Picture of the
day] 

An example would be like this:
Took a picture 2014-12-25 named picture1.jpeg

When i import the files i want it to be store in my albuns like this:

/home/user/album/2014/12/25/picture1.jpeg

As explained in the description:

Reproducible: Always

Steps to Reproduce:
1) Launch the Import Tool
2) Select photos
3) Check the "Date-based sub-albums" and set a Date format to "yyyy/MM/dd"
4) Click on the download button
5) A popup ask when you want to import the photo
6) Choose the album root folder

Actual Results:  
An error popup says:
Album name cannot contain '/'.
(see attached capture)

Expected Results:  
The subfolders needed by the imported photo should be created silently and
corresponding photos imported into them.

And as explained by Alan:

As a workaround until this gets fixed, you can actually make the import work
by:
1. Create the empty folders tree in advance (by script or by hand)
2. Use double forward slash in the Check the Date format, e.g. to
"yyyy//MM//dd"

But i guess is not pretty to have to create manually the folder to make it work

So i guess would not be hard to fix, just check if there is a '/' and create
folders if it does not exists.

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list