-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Même avec le minimum:
import kandinsky
kandinsky.fill_rect(0, 0, 10, 10, kandinsky.color(0, 0, 0))
Ce module ne tourne pas, c'est presque certainement ma faute. J'ai cette erreur:
Traceback (most recent call last):
File "/Users/qka/Downloads/Python projects/temp", line 2, in
kandinsky.fill_rect(0, 0, 10, 10, kandinsky.color(0, 0, 0))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/site-packages/kandinsky/init.py", line 69, in color
color, err = __Core.event_fire(__Core.color,r, g, b)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/site-packages/kandinsky/util/mac_patcher.py", line 39, in Core_event_fire
if not self.stopped: Gui.refresh()
^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/site-packages/kandinsky/util/mac_patcher.py", line 86, in Gui_refresh
Gui.created()
File "/opt/anaconda3/lib/python3.11/site-packages/kandinsky/util/stuff/gui.py", line 36, in created
if not Gui.tkmaster: raise RuntimeError("Gui: an instance must be created")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Gui: an instance must be created