Re: Change in libphoto2 & gvfs?



On Thu, 2011-05-05 at 15:29 -0500, Damon Lynch wrote:
> Hi everyone,
> 
> I'm have python code that accesses file systems using python's GIO
> static bindings, e.g.
> 
> import gio
> ...
> children = path.enumerate_children(file_attributes)
> for child in children:
>     if
> child.get_attribute_boolean(gio.FILE_ATTRIBUTE_ACCESS_CAN_READ):
> 
> etc.
> 
> In 2009, this kind of code used to work. However today it seems that
> it is possible for python's GIO bindings to make a camera mount
> available, but it's impossible to access any files on it using GIO's
> own library code. Moreover, the mount doesn't show up ~/.gvfs. However
> browsing the same mount in Nautilus works without difficulties.
> 
> Is this a binding problem? Or has something changed in the design of
> GVFS? Or is something broken? If it's of any relevance, this is on
> Ubuntu 11.04.

No, this should still work the same. What happens? Do you get some kind
of error from the gio operations?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]