unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Fis Trivial <ybbs.daans@hotmail.com>
Cc: 30122@debbugs.gnu.org
Subject: bug#30122: python-pygobject with gtk+ broken.
Date: Mon, 05 Jul 2021 15:18:10 +0200	[thread overview]
Message-ID: <87y2ak292l.fsf@gmail.com> (raw)
In-Reply-To: <MWHPR16MB0063BF47A0548DDF784CA5BB92EB0@MWHPR16MB0063.namprd16.prod.outlook.com> (Fis Trivial's message of "Mon, 15 Jan 2018 13:15:55 +0000")

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	other threads:[~2021-07-05 13:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-15 13:15 bug#30122: python-pygobject with gtk+ broken Fis Trivial
2021-07-05 13:18 ` zimoun [this message]
2021-08-17 21:46   ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2ak292l.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=30122@debbugs.gnu.org \
    --cc=ybbs.daans@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).