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.
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
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.
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.
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