You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
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'