Hi,

Thiss old bug [1] is about python-pygobject.

1: <http://issues.guix.gnu.org/issue/30122>

On Mon, 15 Jan 2018 at 13:15, Fis Trivial <ybbs.da...@hotmail.com> wrote:

> * Steps to reproduce:
> Install python-pygobject with guix: `guix package -i python-pygobject`
> Install gtk+ with guix: `guix package -i gtk+`
>
> $ python
>>>> from gi.repository import Gtk
>
> * Full message
>
> Python 3.5.3 (default, Jan  1 1970, 00:00:01)
> [GCC 5.4.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from gi.repository import Gtk
> /home/fis/.guix-profile/lib/python3.5/site-packages/gi/module.py:178: 
> Warning: cannot register existing type 'AtkImplementorIface'

[...]

> TypeError: must be an interface
>>>>

Using Guix 3694c0d, it seems to work.

--8<---------------cut here---------------start------------->8---
guix environment --ad-hoc gtk+ python-pygobject python -- python3

Python 3.8.2 (default, Jan  1 1970, 00:00:01)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> gi.require_version('Gtk', '3.0')
>>> from gi.repository import Gtk
>>>
--8<---------------cut here---------------end--------------->8---

Does it work for you?

All the best,
simon



Reply via email to