WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.22k stars 177 forks source link

MODELS_DIR seems to be set to ComfyUI/ComfyUI/models when server started from comfy root dir #53

Closed szhublox closed 1 year ago

szhublox commented 1 year ago

WAS Node Suite Error: There is no write access to /media/sd/ComfyUI/custom_nodes/was-node-suite-comfyui or /media/sd/ComfyUI/ComfyUI/models. Write access is required!

MODELS_DIR = os.path.join(( os.getcwd()+os.sep+'ComfyUI' if not os.getcwd().startswith('/content') else os.getcwd() ), 'models')

WASasquatch commented 1 year ago

The error doesn't seem to indicate that. It indicates there is no write access so it can't save models or anything.

I use the portable version though and don't run from ComfyUI so may be issue in the logic.

szhublox commented 1 year ago

There's no write access because the directory doesn't exist. My models dir is /media/sd/ComfyUI/models but it's looking at /media/sd/ComfyUI/ComfyUI/models

WASasquatch commented 1 year ago

Try pull latest, using comfy paths, as I've been meaning to switch to it anyways. https://github.com/WASasquatch/was-node-suite-comfyui/commit/93d8dadb82b15c278e9a002189df6604f2a06e8b#diff-35652c7be27f406523ce77f22809c807782fa83236d30eed7d170b3859941ddbR52

szhublox commented 1 year ago

the complaint went away