Re: Bug in gobject-introspection
Il Sun, 6 May 2018 09:47:05 -0300 Colomban Wendlingscrisse: > 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
Re: Bug in gobject-introspection
Le 06/05/2018 à 09:05, Nicola Fontana a écrit : > Il Sat, 07 Apr 2018 06:25:52 +0200 Arun Gurungscrisse: > >> 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. Anyway, it looks like the OP's distro is messed up for installing a Python2 module in Python3's libraries. Or maybe it's a leftover from a manual installation? And for more details on @Nicola's answer: the issue is that in Python 3.x 'print' became a function so has to be used with the syntax 'print(...)', while in Python2 it was a keyword that could be used like 'print ...' (i.e. without parentheses around what to print). The issue you see is that use of the Python2 syntax with Python3. Regards, Colomban ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Bug in gobject-introspection
Il Sat, 07 Apr 2018 06:25:52 +0200 Arun Gurungscrisse: > 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. Ciao. -- Nicola ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Bug in gobject-introspection
On 6 May 2018 at 12:25,wrote: > 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! > I'm baffled by how you think anyone can do anything with such a vague report. What exactly happened when you tried to run those programs? What specific problem did the developers describe? Where is the link to the place where they did so? ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list