Bug 165857

Summary: unreliable import when photo root is on network share
Product: [Applications] digikam Reporter: Bernie <meensb>
Component: Import-MainViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.9.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.5

Description Bernie 2008-07-06 13:28:18 UTC
Version:           0.9.3 (using KDE 3.5.8)
Installed from:    SuSE RPMs

Hi,

I've got my /home on a NAS which is connected on 100Mbit/s network. My digikam photo root also resides within /home and hence on the NAS. After inserting a CFlash card into the high speed USB 2.0 reader on the PC, the KDE deamon offers me, amongst others, to import the images to Digikam. Choosing this starts Digikam and the camera import module.

However, during transfer of pictures (JPG), about one in five transfers are finished unsuccessfully (marked by a red "x" at the picture). This seems to happen totally random... Starting all over again gives the same result however the unsuccessfull pictures are totally random.

When using a digikam root folder which resides on the pc physically, this problem doesn't show up.
When using konqueror to copy files from the CF card into Digikam directly (select pictures within konqueror and drag them into Digikam window) no problems occur.
Just to be complete: I have no problems with transfers from/to NAS expect for digikam import.
Comment 1 Arnd Baecker 2008-07-06 16:20:59 UTC
The problem sounds like
"digiKam doesn't work when album library is on a network share", see 
http://www.digikam.org/drupal/node/219.
Comment 2 Fabien 2008-07-07 10:34:21 UTC
Hi,

You could also be interested in testing the following patch with 0.9.4svn version:
http://mail.kde.org/pipermail/digikam-devel/2008-July/019511.html

This makes sqlite use .lock files for locking the database which is supported on all platforms and filesystems. Use at your own risk... Works for me  :) 
Comment 3 Bernie 2008-08-26 21:10:02 UTC
I have installed digikam 0.9.4. The problem is gone!

Thx Bernie