GNOME Bugzilla – Bug 582266
Copy of images from Canon 20D impossible using gvfs / libgphoto
Last modified: 2018-09-21 16:44:45 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.
The transfer was attempted in Normal mode.
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.
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.
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.
Any update on this, Damon? It could be a gphoto2 thing, see bug 679251.
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.
-- 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.