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 606059 - Handle 'Unsupported Operation' for gp_camera_get_storageinfo() more gracefully
Handle 'Unsupported Operation' for gp_camera_get_storageinfo() more gracefully
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: gphoto backend
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2010-01-04 22:44 UTC by David Zeuthen (not reading bugmail)
Modified: 2011-04-26 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
PATCH: Recognize gphoto2 cameras which don't implement get storageinfo (1.40 KB, patch)
2010-01-06 11:46 UTC, Hans de Goede
committed Details | Review

Description David Zeuthen (not reading bugmail) 2010-01-04 22:44:54 UTC
<hansg> *** Error ***              
 The filesystem doesn't support getting storage information
 Getting storage information not supported for this camera.
 *** Error (-6: 'Unsupported operation') ***       
 gphoto2 -L does work, I think this explains
Comment 1 David Zeuthen (not reading bugmail) 2010-01-04 22:45:26 UTC
We should handle this better instead of just ignoring the device...
Comment 2 Hans de Goede 2010-01-06 11:46:40 UTC
Created attachment 150888 [details] [review]
PATCH: Recognize gphoto2 cameras which don't implement get storageinfo

Here is a patch fixing this.
Comment 3 Tomas Bzatek 2011-04-26 14:36:28 UTC
commit 25b918f1f593f835be7fc74b2afd45c3336e82a1

    gphoto2: Recognize cameras which don't implement get storageinfo
    
    Not all gphoto drivers implement get storage info (drivers for proprietary
    protocols often don't). This patch fixes the gphoto2volumemonitor to still
    recognize cams which gphoto driver does not implement get storage info.