Bug 348132

Summary: Cannot import from MTP smartphone on smb (NAS) device
Product: [Applications] digikam Reporter: Piotr <piotergmoter>
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:

Description Piotr 2015-05-23 11:32:10 UTC
I have just started to use digikam, so this is the first import from my camera (Samsung Galaxy Core). The system (kubuntu 14.04) works very well with it, so I can copy the files from the camera. The problem is with digikam. 
digikam recognizes my camera, so I can browse the pictures on it. But when I select one of them, then try to download I have (showed in the history window) the error message, that digikam had unsuccessful download 'name of the file..'. It happens when I choose albums located on the NAS (synaptic) device. It works ok, when the album is on the local disk.

Reproducible: Always

Steps to Reproduce:
1. Plug device into computer
2. select the device to import
3. select picture
4. select download

Actual Results:  
after i while error

Expected Results:  
the picture in the album

The package I use is  from this repo:
http://ppa.launchpad.net/philip5/extra/ubuntu trusty main
Comment 1 caulier.gilles 2015-05-23 11:55:54 UTC
It more like file name pattern is not supported by Windows file-system.

Which file names are imported to your NAS ?

note : run kdebugdialog, turn on debug spaces and run digiKam from a console. report here the debug trace. Read more details at this page : 

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 Piotr 2015-05-23 20:37:21 UTC
Well, really annoying situation. Now it works ;-( and I don't know why. It means it can stop working anytime. 

The file name pattern was ok anyway. I have hundreds of pictures on this NAS (and on the FAT32 file system also) with this pattern (example filename 2015-04-14_17.51.34.jpg). So it is clean on MS Windows FS.

NAS is actually the small  box with linux inside. 

I'm not sure if we can safely close this bug. Maybe Android makes its tricks here?
Regards
P.
Comment 3 caulier.gilles 2015-05-23 20:42:59 UTC
yes, file patterns is safe.

MTP phone will use Gphoto2 driver to communicate and download files. Perhas problem is here too... I don't know...

I propose to close the file. If you can reproduce later with more details or information to hack, don't hesitate to re-open...

Gilles Caulier
Comment 4 Piotr 2015-05-23 20:45:29 UTC
OK.
Anyway it is time to go to sleep.