Bug 35396 - Падает при импорте
Summary: Падает при импорте
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python-module-pygobject3 (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
: 35397 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-14 14:31 MSK by Владимир Диденко
Modified: 2018-10-01 17:09 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Владимир Диденко 2018-09-14 14:31:07 MSK
После последнего обновления модуль стал падать

$ python3
Python 3.6.5 (default, Aug 30 2018, 15:41:16) 
[GCC 7.3.1 20180712 (ALT 7.3.1-alt5)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import Gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/usr/lib64/python3/site-packages/gi/importer.py", line 146, in load_module
    dynamic_module = load_overrides(introspection_module)
  File "/usr/lib64/python3/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib64/python3/site-packages/gi/overrides/Gtk.py", line 136, in <module>
    class Widget(Gtk.Widget):
  File "/usr/lib64/python3/site-packages/gi/module.py", line 215, in __getattr__
    wrapper = metaclass(name, bases, dict_)
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
Comment 1 Yuri N. Sedunov 2018-09-14 14:45:44 MSK
Исправится в
#213016 AWAITING #1 sisyphus srpm=libgtk+3-3.24.0-alt2.src.rpm
Comment 2 Yuri N. Sedunov 2018-09-14 18:28:30 MSK
*** Bug 35397 has been marked as a duplicate of this bug. ***
Comment 3 Michael Shigorin 2018-09-17 14:37:37 MSK
2018-Sep-15 10:13:45 :: task #213016 for sisyphus DONE

Правильно понимаю, что исправилось?
Comment 4 Yuri N. Sedunov 2018-09-17 14:46:55 MSK
(В ответ на комментарий №3)
> 2018-Sep-15 10:13:45 :: task #213016 for sisyphus DONE
> 
> Правильно понимаю, что исправилось?

Частично. Еще зацепило вебкит.
#213082 AWAITING #1.2 sisyphus srpm=libwebkitgtk4-2.22.0-alt1.1.src.rpm

Не исключено, что еще где проявится. Бдите! :)
Comment 5 Антон Мидюков 2018-09-18 08:39:08 MSK
gnome-music не запускается с похожей ошибкой на сегодняшней регулярке:

gnome-music 
Traceback (most recent call last):
  File "/usr/bin/gnome-music", line 142, in <module>
    sys.exit(main())
  File "/usr/bin/gnome-music", line 137, in main
    return run_application()
  File "/usr/bin/gnome-music", line 123, in run_application
    from gnomemusic.application import Application
  File "/usr/lib/python3/site-packages/gnomemusic/application.py", line 40, in <module>
    from gnomemusic.window import Window
  File "/usr/lib/python3/site-packages/gnomemusic/window.py", line 40, in <module>
    from gnomemusic.views.albumsview import AlbumsView
  File "/usr/lib/python3/site-packages/gnomemusic/views/albumsview.py", line 31, in <module>
    from gnomemusic.widgets.headerbar import HeaderBar
  File "/usr/lib/python3/site-packages/gnomemusic/widgets/headerbar.py", line 31, in <module>
    from gnomemusic.widgets.searchbar import Searchbar
  File "/usr/lib/python3/site-packages/gnomemusic/widgets/searchbar.py", line 34, in <module>
    from gi.repository.Gd import TaggedEntry  # noqa: F401
  File "<frozen importlib._bootstrap>", line 1020, in _handle_fromlist
  File "/usr/lib/python3/site-packages/gi/module.py", line 215, in __getattr__
    wrapper = metaclass(name, bases, dict_)
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
Comment 6 Yuri N. Sedunov 2018-09-18 11:53:54 MSK
#213179 AWAITING #1.2 sisyphus srpm=libdazzle-3.30.0-alt2.src.rpm
Comment 7 Repository Robot 2018-09-18 17:22:24 MSK
libdazzle-3.30.0-alt2 -> sisyphus:

Tue Sep 18 2018 Yuri N. Sedunov <aris@altlinux> 3.30.0-alt2
- rebuilt for (ALT #35396)
Comment 8 Владимир Диденко 2018-09-30 20:22:19 MSK
(In reply to comment #4)
> 
> Не исключено, что еще где проявится. Бдите! :)

Если не ошибаюсь, то gnome-shell пересобрать еще нужно, сейчас в лог спамится со страшной скоростью ошибки вида

g_interface_info_get_n_properties: assertion 'GI_IS_INTERFACE_INFO (info)' failed

Апстримная бага, которая говорит, что это все тоже последствие изменения в atk
https://gitlab.gnome.org/GNOME/gjs/issues/199
Comment 9 Yuri N. Sedunov 2018-10-01 17:09:54 MSK
gnome-shell-3.30.0-alt2