keyboard-color-switcher icon indicating copy to clipboard operation
keyboard-color-switcher copied to clipboard

RuntimeError: Gtk couldn't be initialized

Open yochananmarqos opened this issue 3 years ago • 1 comments
trafficstars

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 avatar Dec 27 '21 16:12 yochananmarqos

@JeffLabonte Any ideas about this?

yochananmarqos avatar Oct 12 '22 14:10 yochananmarqos