[Digikam-devel] [Bug 150598] New: File rename during image upload fails silently
Paul Waldo
pwaldo at waldoware.com
Mon Oct 8 13:19:30 BST 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=150598
Summary: File rename during image upload fails silently
Product: digikam
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: digikam-devel kde org
ReportedBy: pwaldo waldoware com
Version: 0.9.2-final (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14.1)
Compiler: Target: x86_64-linux-gnu
OS: Linux (x86_64) release 2.6.20-16-generic
During upload of images from camera, final file names are are temporary file names like "PQTBTU~V.JPG", and no indication is given that there is a problem giving the file the expected name.
This happens because the file name template produces file names that are invalid for the file system. In my particular case, I am storing the images on a networked CIFS share. I chose "ISO" for the Date Format, producing a desired file name like this: "photo2007-10-06T17:28:12-000003.crw". Colons are not allowed for CIFS (FAT32) file systems, so renaming the temporary file to the final name fails. This is reasonable that it should fail, but there is no indication that it has failed. I would expect a dialog indicating failure, with the chance to abort or manually rename.
This may be difficult to duplicate if the underlying file system is ext2, as the file name characters allowed are anything but NULL and /.
More information about the Digikam-devel
mailing list