MaxTretikov / ComfyUI

A powerful and modular stable diffusion GUI with a graph/nodes interface.
GNU General Public License v3.0
1 stars 0 forks source link

/user/default missing #2

Closed exdysa closed 3 months ago

exdysa commented 4 months ago

Issue : The application refuses to launch using comfyui --cwd=[directory] or when cloned from the git repo and launched from main.py when there is no /user/default/ directory within the working directory.

Expected behaviour: The console should end with the string about seeing the GUI at 127.0.0.1:8188

Exhibited behaviour:

    self.frontend = self.settings.get_user_settings(self.default_user).get("Comfy.Frontend", "classic")
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Public\.sabre\Lib\site-packages\comfy\app\app_settings.py", line 11, in get_user_settings
    file = self.user_manager.get_user_filepath(user, "comfy.settings.json")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Public\.sabre\Lib\site-packages\comfy\app\user_manager.py", line 65, in get_user_filepath
    os.mkdir(parent)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\Public\\extra_models\\user\\default'```

then program ends abruptly.