bug-guix
[Top][All Lists]
Advanced

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

bug#30122: python-pygobject with gtk+ broken.


From: zimoun
Subject: bug#30122: python-pygobject with gtk+ broken.
Date: Mon, 05 Jul 2021 15:18:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

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.daans@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

[Prev in Thread] Current Thread [Next in Thread]