WASasquatch / was-node-suite-comfyui

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

Getting [Errno 13] error when trying to import styles. #504

Open Ryuukarasu opened 3 weeks ago

Ryuukarasu commented 3 weeks ago

I'm using Stability Matrix and trying to link ComfyUI to the styles of my stable diffusion installation. Every time I turn it on I get the error "[Errno 13]" error saying I don't have privileges to access that file. This is the section of code in the terminal talking about it.

WAS Node Suite: Importing styles from `C:\Users\epbra\Documents\AI\Stability Matrix\Packages\Stable Diffusion WebUI reForge`.
Traceback (most recent call last):
  File "C:\Users\epbra\Documents\AI\Stability Matrix\Packages\ComfyUI\nodes.py", line 2006, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Users\epbra\Documents\AI\Stability Matrix\Packages\ComfyUI\custom_nodes\was-node-suite-comfyui\__init__.py", line 1, in <module>
    from .WAS_Node_Suite import NODE_CLASS_MAPPINGS
  File "C:\Users\epbra\Documents\AI\Stability Matrix\Packages\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 305, in <module>
    with open(webui_styles_file, "r", encoding="utf-8-sig", newline='') as file:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\epbra\\Documents\\AI\\Stability Matrix\\Packages\\Stable Diffusion WebUI reForge'

Cannot import C:\Users\epbra\Documents\AI\Stability Matrix\Packages\ComfyUI\custom_nodes\was-node-suite-comfyui module for custom nodes: [Errno 13] Permission denied: 'C:\\Users\\epbra\\Documents\\AI\\Stability Matrix\\Packages\\Stable Diffusion WebUI reForge'