Bug 35397 - Не работает from gi.repository import Gtk
Summary: Не работает from gi.repository import Gtk
Status: CLOSED DUPLICATE of bug 35396
Alias: None
Product: Sisyphus
Classification: Development
Component: python-module-pygobject3 (show other bugs)
Version: unstable
Hardware: all Linux
: P3 critical
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
Depends on:
Reported: 2018-09-14 18:01 MSK by Антон Мидюков
Modified: 2018-09-14 18:28 MSK (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Антон Мидюков 2018-09-14 18:01:54 MSK
Не запускаются, как минимум blueberry и soundconverter

Traceback (most recent call last):
  File "/usr/share/blueberry/blueberry.py", line 7, in <module>
    from BlueberrySettingsWidgets import SettingsPage, SettingsBox, SettingsRow
  File "/usr/share/blueberry/BlueberrySettingsWidgets.py", line 5, in <module>
    from gi.repository import Gtk
  File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 146, in load_module
    dynamic_module = load_overrides(introspection_module)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 136, in <module>
    class Widget(Gtk.Widget):
  File "/usr/lib64/python2.7/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 18:28:30 MSK

*** This bug has been marked as a duplicate of bug 35396 ***