ParthJadhav / Tkinter-Designer

An easy and fast way to create a Python GUI 🐍
BSD 3-Clause "New" or "Revised" License
9.27k stars 851 forks source link

Help i can't use TKINTER DESGINER PLEASE HELP #418

Open apm-99 opened 5 months ago

apm-99 commented 5 months ago

Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\agusp\AppData\Local\Programs\Python\Python312\Lib\tkinter__init.py", line 1967, in call__ return self.func(*args) ^^^^^^^^^^^^^^^^ File "c:\Users\agusp\projects\Tkinter-Designer-master\gui\gui.py", line 72, in btn_clicked designer.design() File "C:\Users\agusp\projects\Tkinter-Designer-master\tkdesigner\designer.py", line 32, in design code = self.to_code() ^^^^^^^^^^^^^^ File "C:\Users\agusp\projects\Tkinter-Designer-master\tkdesigner\designer.py", line 19, in to_code for f in self.file_data["document"]["children"][0]["children"]:


KeyError: 'document'
9xadx commented 5 months ago

same problem here

renderos1-1 commented 4 months ago

Same.

suryadevelope commented 3 months ago

same issue

ThePerfectDesigner commented 2 months ago

I also ran into same issue and could not get them fixed I tried this new tool, works like charm https://github.com/nucleonautomation/Gluonix-Designer

renderos1-1 commented 2 months ago

I forgot to come back here, but I managed to fix it. At least in my case, the issue was that that Figma Token was expired, because I think that by default they expire after 30 days. So it could be that your token is either expired or wrong. Try generating a new one and that should fix the issue.