Bug 216502 - import errors are not reported
Summary: import errors are not reported
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-MainView (show other bugs)
Version: 0.10.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-28 13:30 UTC by Marc Finet
Modified: 2012-06-27 11:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Finet 2009-11-28 13:30:26 UTC
Version:           0.10.0 (using KDE 4.3.3)
Compiler:          x86_64-pc-linux-gnu-gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3. 
OS:                Linux
Installed from:    Gentoo Packages

I used the import (Ixus 55 but it doesn't matter i think) with filename rename and because i switched version I used 'ISO'. Unfortunately, my filesystem where images are stored is FAT32 and filename with ':' is forbidden on such FS. I saw that transfer failed but didn't find any hint about problem that occurred.
I had to strace digikam, that gave me the clue:
stat("/mnt/images/voyages/2009-irlande/2009-07-31/photo-2009-07-31T18:13:02.JPG", 0x4f5e4b8) = -1 ENOENT (No such file or directory)
lstat("/mnt/images/voyages/2009-irlande/2009-07-31/photo-2009-07-31T18:13:02.JPG", 0x7ffff83b6090) = -1 ENOENT (No such file or directory)
rename("/mnt/images/voyages/2009-irlande/2009-07-31/.digikam-camera-tmp1-2734IMG_0992.JPG", "/mnt/images/voyages/2009-irlande/2009-07-31/photo-2009-07-31T18:13:02.JPG") = -1 EINVAL (Invalid argument)
unlink("/mnt/images/voyages/2009-irlande/2009-07-31/.digikam-camera-tmp1-2734IMG_0992.JPG") = 0

It's ok for me (i switched to Advanced and choose format suitable for this FD) but i think that a 'normal user' would not strace digikam to find what the problem is.

The idea behind this bug report is to show/explain user errors that occurred during import (could be interesting to test with more common failures, such as FS full, but it might occur before rename). I could take a look at code if my case is just related to rename(), that is, lacking a report, a catch or something like this and all the architecture is ready (i.e. opening window, filename list, and error type...).
Comment 1 caulier.gilles 2009-11-28 14:57:47 UTC
Already implemented. In 1.0.0, CameraGui has a new download log view...

Gilles Caulier
Comment 2 Marc Finet 2009-11-28 18:47:03 UTC
Whaou ! Nice to see bugs so quickly resolved (and such reactivity ;D). When filling the bug report (and entering 0.10.0 version) i was wondering why i was not already using 1.0 version. It seems that beta6 is in an overlay in gentoo system. And reading site news, i'm impatient to test mass-renaming and modifiers functionality, hope that 1.0 will be out soon but didn't find (yet) release plan (I will look deeper on site).

Many thanks and keep up on such good work !
Comment 3 Mark Purcell 2009-11-29 01:13:44 UTC
Marc,

Details here:

http://www.digikam.org/drupal/about/releaseplan