Skip to content

RuntimeError: Gtk couldn't be initialized #47

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

Open
yochananmarqos opened this issue Dec 27, 2021 · 1 comment
Open

RuntimeError: Gtk couldn't be initialized #47

yochananmarqos opened this issue Dec 27, 2021 · 1 comment

Comments

@yochananmarqos
Copy link
Contributor

Running from the latest commit using my PKGBUILD:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/keyboard-color-switcher/keyboard-color-switcher.py", line 116, in <module>
    win = MainWindow()
  File "/usr/lib/python3.10/site-packages/keyboard-color-switcher/keyboard-color-switcher.py", line 34, in __init__
    Gtk.Window.__init__(self)
  File "/usr/lib/python3.10/site-packages/gi/overrides/Gtk.py", line 519, in __init__
    raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.

I haven't built or run it in awhile, so I'm not sure if it's related to Python 3.10 or not.

Serval WS (serw12)
Manjaro GNOME
gtk3 3.24.31
python 3.10.1
python-gobject 3.42.0

@yochananmarqos
Copy link
Contributor Author

@JeffLabonte Any ideas about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant