Bug 191842

Summary: digikam download forgets to download some pictures (multiple big folders)
Product: [Applications] digikam Reporter: Roger Larsson <roger.larsson>
Component: Import-AlbumsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: critical CC: Klaus.Weidenbach
Priority: NOR    
Version: 0.9.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description Roger Larsson 2009-05-06 20:29:53 UTC
Version:           0.9.5 (using 3.5.10 "release 21.11" , openSUSE )
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.27.21-0.1-default

Noticed that not all images were downloaded from my multiple big folders.
Made a diff between files on my media with files in digikam folder after download - several (472 of 1314) files were missing!

Redid the download - same files were still missing!
Closed opened download window, redid download - still missing.
Closed opened download window, noticed that files were missing from thumbnail list.

Using a SanDisk Extreme III 8GB Compact Flash in an external reader
(Epson RX620)
Comment 1 Roger Larsson 2009-05-06 20:32:02 UTC
Critical - data loss
Probably related to bug:191774
Comment 2 caulier.gilles 2009-05-07 08:00:34 UTC
Not reproducible here... Which download settings use use exactly ?

Look debug messages on the console...

Gilles Caulier
Comment 3 Roger Larsson 2009-05-07 22:08:41 UTC
Camera file name: Change to small
Rotate or mirror(?) automatically
NO messages on console!

No problem to copy/paste all files (ctrl-c, ctrl-v)
Comment 4 Marcel Wiesweg 2009-05-08 19:34:11 UTC
You need to enable debug messages with kdebugdialog. Enable code 50003.
Comment 5 Roger Larsson 2009-05-10 18:12:03 UTC
kdebugdialog already had code 50003 enabled (but it is the kde4 version)
running kde3 version had no such message, enabled all...
Tried to download from a SD flash (Nikon D40) - output below, verified the download and noticed that ONE image was missing.
Different media, different camera (but still Nikon), same external reader =>
same problem... (will try to connect cameras and download from them)

Exif orientation tag set to: 1
Exif Orientation: 1
Exif Orientation: 1
Exif Orientation: 1
Exif Orientation: 1
Exif Orientation: 1
Failed to load embedded RAW preview
Exif Orientation: 1
Failed to load embedded RAW preview
Exif Orientation: 1
Failed to load embedded RAW preview
Exif Orientation: 1
Failed to load embedded RAW preview
Exif Orientation: 1
Failed to load embedded RAW preview
Exif Orientation: 1
Comment 6 caulier.gilles 2009-05-10 18:44:30 UTC
Yesterday, i have downloaded more than 270 RAW files taken with my Dynax 5D during a friend birthday event. All work fine here. Nothing is lost. Tryied on both computer : one with my camera directly un UMS mode, another one with a CF reader.

Gilles Caulier
Comment 7 Roger Larsson 2009-05-10 18:54:57 UTC
ultimate test - copied all files from media to disk
add pictures (Ctrl-I)

Same picture is missing dsc_1327.jpg
Noticed a sorting error - in its place there is another file
csc_1337.jpg (black and white)

It looks like this
...          <- here should csc_1337.jpg be
dsc_1330.jpg
dsc_1329.jpg
csc_1337.jpg <- here should dsc_1327.jpg be
dsc_1325.jpg
Comment 8 Klaus Weidenbach 2009-05-10 19:09:45 UTC
I can confirm this bug. I have also realized such behavior. I have same KDE and digikam version, but a 32bit system. When I import pictures from a Canon Digital IXUS 430 some pictures are forgotten. All pictures in the import dialog get downloaded, but when I disconnet the camera and browse in the camera there are still some pictures. Mostly around 2-4 pictures, out of 100-150 that I download. When I connect the camera again and open the import dialog I see the pictures. Sometimes I need to repeat disconnect and reconnecting again to get also the last picture.
Comment 9 caulier.gilles 2009-05-12 11:18:51 UTC
Somebody as already see this problem with KDE4 version ? Here nothing is reproducible...

Gilles Caulier
Comment 10 caulier.gilles 2009-05-25 08:39:02 UTC
I recommend to test with current code from svn (digiKam 0.11.0) where i have fixed a lots of bugs. 

Thanks in advance for your help

Gilles Caulier
Comment 11 caulier.gilles 2009-05-25 14:48:03 UTC
Roger,

Yes, this entry is related to #191774

It's more complicated to fix it under KDE3.

For KDE4, this file is fixed now, as #191774

Gilles Caulier
Comment 12 caulier.gilles 2009-05-25 15:13:45 UTC
SVN commit 972635 by cgilles:

fix sort of items, as KDE4.
BUG: 191842
CCBUGS: 191774


 M  +18 -10    cameraui.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=972635