Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lutris fails to start due to TypeError: metaclass conflict #1101

Closed
cdm2985 opened this issue Sep 8, 2018 · 4 comments
Closed

Lutris fails to start due to TypeError: metaclass conflict #1101

cdm2985 opened this issue Sep 8, 2018 · 4 comments

Comments

@cdm2985
Copy link

cdm2985 commented Sep 8, 2018

Hi everyone, Lutris was working earlier for me until I updated some packages I'm assuming. I can't tell which ones they were but here is the error if someone can help me out so I can start Lutris again:

[chris@GT40 ~]$ lutris 
Traceback (most recent call last):
  File "/usr/bin/lutris", line 33, in <module>
    from lutris.gui.application import Application
  File "/usr/lib/python3.7/site-packages/lutris/gui/application.py", line 28, in <module>
    from gi.repository import Gio, GLib, Gtk
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
  File "/usr/lib/python3.7/site-packages/gi/importer.py", line 146, in load_module
    dynamic_module = load_overrides(introspection_module)
  File "/usr/lib/python3.7/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3.7/site-packages/gi/overrides/Gtk.py", line 136, in <module>
    class Widget(Gtk.Widget):
  File "/usr/lib/python3.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

This is on Arch Linux.

@strycore
Copy link
Member

strycore commented Sep 8, 2018

screenshot from 2018-09-08 12-30-24

@cdm2985
Copy link
Author

cdm2985 commented Sep 8, 2018

Thanks for this, I was able to downgrade from gtk3-3.24.0-2 to gtk3-3.22.30-1 and it fixed my issue. I used the downgrade command from the AUR to do this. Sorry for the waste of time!

@elovin
Copy link
Contributor

elovin commented Sep 26, 2018

Why would you use arch testing packages?

@strycore
Copy link
Member

Closing this for now. I now have an Arch install so I can test for those things.

@lutris lutris locked as resolved and limited conversation to collaborators Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants