please help
-
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'
I was getting the same error earlier as well.
I deleted all the previous tokens from Figma (revoked access) and generated a new token.
After entering the new token, the error was resolved and the code ran successfully.
I was getting the same error earlier as well.
I deleted all the previous tokens from Figma (revoked access) and generated a new token.
After entering the new token, the error was resolved and the code ran successfully.
how did you make it run? i'm having the same issue and cannot resolve
I was getting the same error earlier as well. I deleted all the previous tokens from Figma (revoked access) and generated a new token. After entering the new token, the error was resolved and the code ran successfully.
how did you make it run? i'm having the same issue and cannot resolve
Try running the code in the new directory, because earlier I had saved the code on the desktop. Later, after generating a new token, I ran it in a different directory.
At that time, the code ran successfully without any errors.