After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 582266 - Copy of images from Canon 20D impossible using gvfs / libgphoto
Copy of images from Canon 20D impossible using gvfs / libgphoto
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: gphoto backend
1.2.x
Other All
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2009-05-12 05:30 UTC by Damon Lynch
Modified: 2018-09-21 16:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Damon Lynch 2009-05-12 05:30:48 UTC
Please describe the problem:
Copying images from a Canon 20D mounted using gvfs backend is impossible. The files on the camera memory card cannot be listed or copied.

I am the developer of Rapid Photo Downloader, http://damonlynch.net/rapid/
I have started integrating GIO. A user tells me that they cannot download from a  Canon 300D as well, but I have not tested this myself, because I do not have access to that camera.





Steps to reproduce:
Click on the camera name in Nautilus. Nautilus gives this error message: "Sorry, could not display all the contents of "Canon, Inc. EOS 20D": Failed to get folder list: -111: Invalid filename"

Running this script results in zero output:

#!/usr/bin/python

import os.path
import shutil


for root, dirs, files in os.walk('/home/damon/.gvfs'):
    for name in files:
        i = os.path.join(root,  name)
        print i
        shutil.copy2(i,  name)



Actual results:


Expected results:


Does this happen every time?
This happens every time.

Other information:
gvfs and libgphoto are packaged in Ubuntu's Jaunty Jackalope.
Comment 1 Damon Lynch 2009-05-12 05:52:20 UTC
The transfer was attempted in Normal mode.
Comment 2 Andreas Henriksson 2010-01-26 08:43:40 UTC
Please try to eliminate the usage of FUSE (~/.gvfs/) in your test to make sure this is actually a problem in the gphoto backend (and not the fuse daemon, which has been known to cause problems in the past).

If the problem remains when talking directly to the gphoto backend, please try to gather some debug output from it while testing....
This might work (but first make sure to unmount all gphoto mounts): "GVFS_DEBUG=1 /usr/lib/gvfs/gvfs -r", then try to moun the camera again and start the test... Capture the output to a file and attach to this bug report.
To restore normal operation of the gvfs daemon it's safest to log out and login again.
Comment 3 Damon Lynch 2010-01-26 19:11:26 UTC
Thank you for responding. Unfortunately I no longer own or have access to this particular camera model. However I do own a Canon EOS 5D MK II which also has problems (although they are different), so if useful I'll carry out the test on that. I'll also encourage a user who is experiencing truncated images when copying images with his/her Canon EOS 1000D to add to this report.
Comment 4 Милош Поповић 2010-01-28 20:34:03 UTC
I have problems with EOS 40D. The spead is only 2MB/s useing Rapid Photo Downloader, but it goes up to 8MB/s if copying with nautilus or importing in f-spot.
Comment 5 Ross Lagerwall 2014-04-06 17:03:49 UTC
Any update on this, Damon? It could be a gphoto2 thing, see bug 679251.
Comment 6 Damon Lynch 2014-04-08 13:53:02 UTC
I continue to get bug reports from users experiencing problems downloading directly from cameras. Bugs include the image listing being blank, the download running extremely slowly, and (as I recall) the images being corrupted. This is a long-standing problem.
Comment 7 GNOME Infrastructure Team 2018-09-21 16:44:45 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/94.