Re: Problems with gio_drive and gio_volume

2018-05-07 Thread Philip Withnall
On Sun, 2018-05-06 at 12:22 +0200, rastersoft wrote:
> Hi all:
> 
> I've been using GIO's Drive and Volume to detect the available
> external 
> disks in an app (cronopete) and it worked fine for me; but some
> people 
> referred troubles: some of them says their USB disks aren't
> detected. 
> Also, I found that you can't retrieve information about the SATA
> hard 
> disks, no matter if they are connected through eSATA.
> 
> Is there a way of detecting ALL hard disks in the system and ALL
> their 
> volumes inside with Drive.get_volumes(), no matter if they are
> external, 
> internal, removable or fixed? Or I must rely on udisks2 for that?

File a bug:

https://bugzilla.gnome.org/enter_bug.cgi?product=glib

and include a pointer to the specific GDrive/GVolume calls you’re
making, and as much information as you can from the people whose drives
aren’t showing up, including the output of `gio mount -li`.

Thanks,
Philip

signature.asc
Description: This is a digitally signed message part
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Bug in gobject-introspection

2018-05-07 Thread Nicola Fontana
Il Sun, 6 May 2018 09:47:05 -0300 Colomban Wendling 
 scrisse:

> Le 06/05/2018 à 09:05, Nicola Fontana a écrit :
> > Il Sat, 07 Apr 2018 06:25:52 +0200 Arun Gurung  
> > scrisse:
> >   
> >> Hi,
> >>
> >> I have gobject-introspection-1.50.0-1.el7.x86_64 and gobject-
> >> introspection-devel-1.50.0-1.el7.x86_64. I tried to use a program like
> >> "menulibre" and "devedeng" and the developers say there is a bug in
> >> gobject-instrospecition. Thanks for any help!  
> > 
> > Hi,
> > 
> > gobject-introspection is Python2 based.  
> 
> GI works fine with Python 3 here, at version 1.50.0 as well (Debian 9
> here).  So I guess it's either that upstream GI doesn't support Python3
> and Debian has a patch, or that the OP's version is incorrectly
> installing a Python2 GI version in Python3's directories.

Hi Colomban,

I'm pretty sure I met that very same issue the last time I built
gobject-introspection (1.48.something). The official doc [1] says
it is still python2 based, so I supposed things did not change.

Anyway, at least according to meson.build [2], python 3 is now
supported, so I stand corrected.

[1] https://developer.gnome.org/gi/stable/gi-building.html
[2] 
https://gitlab.gnome.org/GNOME/gobject-introspection/blob/master/meson.build#L15

Ciao.
-- 
Nicola
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list