Skip to content

raise Exception("Frame not found in figma file or is empty") Exception: Frame not found in figma file or is empty #436

@EVINJSUBIN

Description

@EVINJSUBIN

Traceback (most recent call last):
File "/home/youridertech/Tkinter-Designer-1.0.7/Tkinter-Designer-1.0.7/tkdesigner/designer.py", line 21, in to_code
frame = Frame(f, self.figma_file, self.output_path, self.frameCounter)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/youridertech/Tkinter-Designer-1.0.7/Tkinter-Designer-1.0.7/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):
File "/usr/lib/python3.11/tkinter/init.py", line 1948, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "/home/youridertech/Tkinter-Designer-1.0.7/Tkinter-Designer-1.0.7/gui/gui.py", line 72, in btn_clicked
designer.design()
File "/home/youridertech/Tkinter-Designer-1.0.7/Tkinter-Designer-1.0.7/tkdesigner/designer.py", line 32, in design
code = self.to_code()
^^^^^^^^^^^^^^
File "/home/youridertech/Tkinter-Designer-1.0.7/Tkinter-Designer-1.0.7/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions