-
-
Notifications
You must be signed in to change notification settings - Fork 936
Description
-
Briefly describe the bug: i tried generating the GUI, but it is not generating, and i got an error message in my terminal
-
Operating System: windows
-
the error message : xception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\S_ABDUL\AppData\Local\Programs\Python\Python312\Lib\tkinter_init_.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "c:\EXERGY project\Tkinter-Designer-master\Tkinter-Designer-master\gui\gui.py", line 72, in btn_clicked
designer.design()
File "C:\EXERGY project\Tkinter-Designer-master\Tkinter-Designer-master\tkdesigner\designer.py", line 32, in design
code = self.to_code()
^^^^^^^^^^^^^^
File "C:\EXERGY project\Tkinter-Designer-master\Tkinter-Designer-master\tkdesigner\designer.py", line 19, in to_code
for f in self.file_data["document"]["children"][0]["children"]:
~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'document'