GNU bug report logs -
#30122
python-pygobject with gtk+ broken.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30122 in the body.
You can then email your comments to 30122 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#30122
; Package
guix
.
(Mon, 15 Jan 2018 13:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Fis Trivial <ybbs.daans <at> hotmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 15 Jan 2018 13:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
--8<---------------cut here---------------start------------->8---
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'
g_type = info.get_g_type()
/home/fis/.guix-profile/lib/python3.5/site-packages/gi/module.py:212: Warning: g_type_get_qdata: assertion 'node != NULL' failed
type_ = g_type.pytype
/home/fis/.guix-profile/lib/python3.5/site-packages/gi/types.py:235: Warning: cannot register existing type 'AtkImplementorIface'
register_interface_info(cls.__info__.get_g_type())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "/home/fis/.guix-profile/lib/python3.5/site-packages/gi/importer.py", line 146, in load_module
dynamic_module = load_overrides(introspection_module)
File "/home/fis/.guix-profile/lib/python3.5/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "/gnu/store/h29ggyz1wsmmk220gy811hy181lszz3y-python-3.5.3/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/fis/.guix-profile/lib/python3.5/site-packages/gi/overrides/Gtk.py", line 120, in <module>
class Widget(Gtk.Widget):
File "/home/fis/.guix-profile/lib/python3.5/site-packages/gi/module.py", line 183, in __getattr__
interfaces = tuple(interface for interface in get_interfaces_for_object(info)
File "/home/fis/.guix-profile/lib/python3.5/site-packages/gi/module.py", line 107, in get_interfaces_for_object
interfaces.append(getattr(module, name))
File "/home/fis/.guix-profile/lib/python3.5/site-packages/gi/module.py", line 222, in __getattr__
wrapper = metaclass(name, bases, dict_)
File "/home/fis/.guix-profile/lib/python3.5/site-packages/gi/types.py", line 235, in __init__
register_interface_info(cls.__info__.get_g_type())
TypeError: must be an interface
>>>
--8<---------------cut here---------------end--------------->8---
* Platform
Fedora 26 x86_64
* Version
guix (GNU Guix) bad12e839c2f7823c45aa0121f7d5c9bb70905b7
I have the script running on Fedora with dependencies built by dnf, but not guix.
I searched around, tried to find out what is missing.
But it doesn't seem to be a problem caused by missing packages.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#30122
; Package
guix
.
(Mon, 05 Jul 2021 13:25:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 30122 <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
zimoun <zimon.toutoune <at> gmail.com>
:
You have taken responsibility.
(Tue, 17 Aug 2021 21:47:06 GMT)
Full text and
rfc822 format available.
Notification sent
to
Fis Trivial <ybbs.daans <at> hotmail.com>
:
bug acknowledged by developer.
(Tue, 17 Aug 2021 21:47:06 GMT)
Full text and
rfc822 format available.
Message #13 received at 30122-done <at> debbugs.gnu.org (full text, mbox):
Hi,
On Mon, 05 Jul 2021 at 15:18, zimoun <zimon.toutoune <at> gmail.com> wrote:
> 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.
>
> 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
>>>>
I am closing. If I miss something, feel free to reopen.
All the best,
simon
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 15 Sep 2021 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 195 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.