GNU bug report logs -
#30122
python-pygobject with gtk+ broken.
Previous Next
Full log
View this message in rfc822 format
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 <at> 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
This bug report was last modified 3 years and 338 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.