Bug 348132 - Cannot import from MTP smartphone on smb (NAS) device
Summary: Cannot import from MTP smartphone on smb (NAS) device
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 4.10.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-23 11:32 UTC by Piotr
Modified: 2022-01-02 14:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.