ParthJadhav / Tkinter-Designer

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

Help #368

Open tipsytoes333 opened 8 months ago

tipsytoes333 commented 8 months ago

How to Fix ? A key error occurs when the elements are named or grouped incorrectly. Before creating an issue, make sure that you have followed the instructions guide correctly.

If the issue still persists, create an issue with the following details included.

  1. Error Message - the error message is below
  2. Link to the Figma File - https://www.figma.com/file/CZptvf98nEiULG8utFb0v8/GET-READY-WITH-ME--APP?type=design&node-id=1-2&mode=design&t=rjkkHz4XCgtW1LmK-0

I even created another simple design and tried it and still get the same message, I will link that file here as well => ( https://www.figma.com/file/diKwkk477bTMZbOdtzDyho/Untitled?type=design&node-id=0-1&mode=design&t=gnF9sqK8NSFp9cWd-0 )

frame = Frame(f, self.figma_file, self.output_path, self.frameCounter) ~\tKinterDesigner\Tkinter-Designer\tkdesigner\figma\frame.py", line 29, in init self.elements = [ TypeError: 'NoneType' object is not iterable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): ~\tkinter__init.py", line 1892, in call__ return self.func(*args) ~tKinterDesigner\Tkinter-Designer\gui\gui.py", line 72, in btn_clicked designer.design() ~tKinterDesigner\Tkinter-Designer\tkdesigner\designer.py", line 32, in design code = self.to_code() ~tKinterDesigner\Tkinter-Designer\tkdesigner\designer.py", line 23, in to_code raise Exception("Frame not found in figma file or is empty") Exception: Frame not found in figma file or is empty

barandenizdogan commented 8 months ago

Try pip install tkdesigner

tipsytoes333 commented 7 months ago

Hi, thanks for the reply. I've already done that several times and again per your suggestion. But to no avail! ... Unfortunately, I keep getting that message.