Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error at first run on Debian Sid #33

Open
raniaamina opened this issue Dec 21, 2023 · 0 comments
Open

Error at first run on Debian Sid #33

raniaamina opened this issue Dec 21, 2023 · 0 comments

Comments

@raniaamina
Copy link

Hi, i followed all step and got this. Thanks

$ python3.8 run_app_gui.py                                                                         
Error: Invalid folder path.
Traceback (most recent call last):
  File "run_app_gui.py", line 310, in <module>
    main() 
  File "run_app_gui.py", line 93, in main
    window = sg.Window(APP_TITLE,layout,finalize=True, resizable=True,enable_close_attempted_event=False,background_color=color.GRAY_9900)
  File "/media/sherlock/data/krita-ai/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/venv/lib/python3.8/site-packages/PySimpleGUI/PySimpleGUI.py", line 9614, in __init__
    self.Finalize()
  File "/media/sherlock/data/krita-ai/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/venv/lib/python3.8/site-packages/PySimpleGUI/PySimpleGUI.py", line 10300, in finalize
    self.Read(timeout=1)
  File "/media/sherlock/data/krita-ai/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/venv/lib/python3.8/site-packages/PySimpleGUI/PySimpleGUI.py", line 10075, in read
    results = self._read(timeout=timeout, timeout_key=timeout_key)
  File "/media/sherlock/data/krita-ai/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/venv/lib/python3.8/site-packages/PySimpleGUI/PySimpleGUI.py", line 10146, in _read
    self._Show()
  File "/media/sherlock/data/krita-ai/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/venv/lib/python3.8/site-packages/PySimpleGUI/PySimpleGUI.py", line 9886, in _Show
    StartupTK(self)
  File "/media/sherlock/data/krita-ai/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/venv/lib/python3.8/site-packages/PySimpleGUI/PySimpleGUI.py", line 16866, in StartupTK
    _convert_window_to_tk(window)
  File "/media/sherlock/data/krita-ai/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/venv/lib/python3.8/site-packages/PySimpleGUI/PySimpleGUI.py", line 16753, in _convert_window_to_tk
    PackFormIntoFrame(window, master, window)
  File "/media/sherlock/data/krita-ai/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/venv/lib/python3.8/site-packages/PySimpleGUI/PySimpleGUI.py", line 15991, in PackFormIntoFrame
    PackFormIntoFrame(element, labeled_frame, toplevel_form)
  File "/media/sherlock/data/krita-ai/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/venv/lib/python3.8/site-packages/PySimpleGUI/PySimpleGUI.py", line 15991, in PackFormIntoFrame
    PackFormIntoFrame(element, labeled_frame, toplevel_form)
  File "/media/sherlock/data/krita-ai/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/venv/lib/python3.8/site-packages/PySimpleGUI/PySimpleGUI.py", line 15520, in PackFormIntoFrame
    max_line_len = max([len(str(l)) for l in element.Values]) if len(element.Values) else 0
TypeError: object of type 'NoneType' has no len()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant