[Digikam-devel] [digikam] [Bug 366446] New: Creating new albums fails due to invalid path name.
Ian Dall via KDE Bugzilla
bugzilla_noreply at kde.org
Fri Aug 5 13:22:53 BST 2016
https://bugs.kde.org/show_bug.cgi?id=366446
Bug ID: 366446
Summary: Creating new albums fails due to invalid path name.
Product: digikam
Version: 5.1.0
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: NOR
Component: AlbumsView
Assignee: digikam-devel at kde.org
Reporter: ian at beware.dropbear.id.au
Git Rev.: e22a2467c80e2b541e5debff76f84d9d70ce057d
Creating a new album fails due to an invalid pathname. For example, I have an
album root at /var/media/photos. There is an existing Album at
/var/media/photos/imports. When I try and create an Album "2016-08-05" as a
child of imports, I get an error message: Failed to create directory
'file:///imports/2016-08-05'.
That is to say, digikam is attempting to create /imports/2016-08-05 when it
should be trying to create /var/media/photos/imports/2016-08-05, and failing
because /imports doesn't exist.
This also affects creating new albums at import time.
Browsing existing Albums seems to work fine.
Reproducible: Always
Steps to Reproduce:
1.Select an existing album (or root)
2.Use Album->New
3.Use the "Child of: Selected Album" option, click OK.
Actual Results:
An error message such as Failed to create directory 'file:///New Album'
Expected Results:
A new album to be created.
Using strace confirms that the wrong path is sent to the operating system:
mkdir("/imports/2016-08-05", 0777) = -1 ENOENT (No such file or
directory).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list