NimaNzrii / comfyui-photoshop

ComfyUi inside of your Photoshop! you can install the plugin and enjoy free ai genration
Other
521 stars 31 forks source link

No module named Photoshop(will fix soon) #15

Closed NimaNzrii closed 4 months ago

NimaNzrii commented 4 months ago
          Hey NimaNzrii, thanks for the updates! : )  

And np! But unfortunately I still stuck on the same problem. I'm not sure if it helps, but I got an updated report:

Z:\ComfyUI\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build

ComfyUI-Manager: installing dependencies done.

ComfyUI startup time: 2024-05-04 19:49:19.515451 Platform: Windows Python version: 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)] Python executable: Z:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe ** Log path: Z:\ComfyUI\ComfyUI_windows_portable\comfyui.log

Prestartup times for custom nodes: 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.4 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 8191 MB, total RAM 32689 MB Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync VAE dtype: torch.bfloat16 Using pytorch cross attention Adding extra search path checkpoints Z:\A1111\stable-diffusion-webui\models/Stable-diffusion Adding extra search path configs Z:\A1111\stable-diffusion-webui\models/Stable-diffusion Adding extra search path vae Z:\A1111\stable-diffusion-webui\models/VAE Adding extra search path loras Z:\A1111\stable-diffusion-webui\models/Lora Adding extra search path loras Z:\A1111\stable-diffusion-webui\models/LyCORIS Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/ESRGAN Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/RealESRGAN Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/SwinIR Adding extra search path embeddings Z:\A1111\stable-diffusion-webui\embeddings Adding extra search path hypernetworks Z:\A1111\stable-diffusion-webui\models/hypernetworks Adding extra search path controlnet Z:\A1111\stable-diffusion-webui\models/ControlNet Error: [WinError 1314] A required privilege is not held by the client: 'Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals\js' -> 'Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals' Failed to create symlink to Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals. Please copy the folder manually. Source: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals\js Target: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals Adding Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes to sys.path Could not find efficiency nodes [comfyui_controlnet_aux] | INFO -> Using ckpts path: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [comfyui_controlnet_aux] | INFO -> Using symlinks: False [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] DWPose: Onnxruntime with acceleration providers detected Loaded ControlNetPreprocessors nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux Loaded AdvancedControlNet nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet Could not find AnimateDiff nodes Loaded IPAdapter nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus Could not find VideoHelperSuite nodes Could not load ImpactPack nodes Could not find ImpactPack nodes Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1866, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes__init__.py", line 1, in from inference_core_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS ModuleNotFoundError: No module named 'inference_core_nodes'

Cannot import Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes module for custom nodes: No module named 'inference_core_nodes'

Loading: ComfyUI-Manager (V2.25.1)

ComfyUI Revision: 2160 [72508a8d] | Released on '2024-05-04'

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop__init__.py", line 40, in from photoshop import PhotoshopConnection ModuleNotFoundError: No module named 'photoshop'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1866, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop__init__.py", line 42, in subprocess.run([python_executable, "-m", "pip", "uninstall", "photoshop"], check=True) ^^^^^^^^^^^^^^^^^ NameError: name 'python_executable' is not defined

Cannot import Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop module for custom nodes: name 'python_executable' is not defined [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [comfy_mtb] | INFO -> loaded 70 nodes successfuly [comfy_mtb] | INFO -> Some nodes (5) could not be loaded. This can be ignored, but go to http://127.0.0.1:8188/mtb if you want more information.

[rgthree] Loaded 38 magnificent nodes. [rgthree] Will use rgthree's optimized recursive execution.

WAS Node Suite: OpenCV Python FFMPEG support is enabled WAS Node Suite Warning: ffmpeg_bin_path is not set in Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available. WAS Node Suite: Finished. Loaded 211 nodes successfully.

    "The purpose of art is washing the dust of daily life off our souls." - Pablo Picasso

Import times for custom nodes: 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\sdxl_prompt_styler 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Logic 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Eagle-PNGInfo 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials 0.0 seconds (IMPORT FAILED): Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-popup_preview 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals 0.0 seconds (IMPORT FAILED): Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-various 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.4 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager 1.1 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture 1.2 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb 2.5 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui

Starting server

To see the GUI go to: http://127.0.0.1:8188 FETCH DATA from: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [comfy_mtb] | WARNING -> Found multiple match, we will pick the first Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\upscale_models ['Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\upscale_models', 'Z:\A1111\stable-diffusion-webui\models/ESRGAN', 'Z:\A1111\stable-diffusion-webui\models/RealESRGAN', 'Z:\A1111\stable-diffusion-webui\models/SwinIR']


thanks once again!

Originally posted by @triplediple in https://github.com/NimaNzrii/comfyui-photoshop/issues/11#issuecomment-2094505397

NimaNzrii commented 4 months ago

So yeah this issues is coming from the old version of the node , because we are using both methods to let the users decide. I will change the code a little bit to ignore loading it at the begging of starting comfyui

triplediple commented 4 months ago

Thank you so much @NimaNzrii !! The changes you did now solved that issue and now I can add the Photoshop node :) The only thing is that now I'm getting a new error when I try to draw something on PS. I took a screenshot and I'm posting the report here. Is there anything missing on my end?

PSandComfyUI

Report:

Z:\ComfyUI\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build

ComfyUI-Manager: installing dependencies done.

ComfyUI startup time: 2024-05-05 14:25:28.537572 Platform: Windows Python version: 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)] Python executable: Z:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe ** Log path: Z:\ComfyUI\ComfyUI_windows_portable\comfyui.log

Prestartup times for custom nodes: 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.4 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 8191 MB, total RAM 32689 MB Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync VAE dtype: torch.bfloat16 Using pytorch cross attention Adding extra search path checkpoints Z:\A1111\stable-diffusion-webui\models/Stable-diffusion Adding extra search path configs Z:\A1111\stable-diffusion-webui\models/Stable-diffusion Adding extra search path vae Z:\A1111\stable-diffusion-webui\models/VAE Adding extra search path loras Z:\A1111\stable-diffusion-webui\models/Lora Adding extra search path loras Z:\A1111\stable-diffusion-webui\models/LyCORIS Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/ESRGAN Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/RealESRGAN Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/SwinIR Adding extra search path embeddings Z:\A1111\stable-diffusion-webui\embeddings Adding extra search path hypernetworks Z:\A1111\stable-diffusion-webui\models/hypernetworks Adding extra search path controlnet Z:\A1111\stable-diffusion-webui\models/ControlNet Error: [WinError 1314] A required privilege is not held by the client: 'Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals\js' -> 'Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals' Failed to create symlink to Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals. Please copy the folder manually. Source: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals\js Target: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals Adding Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes to sys.path Could not find efficiency nodes [comfyui_controlnet_aux] | INFO -> Using ckpts path: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [comfyui_controlnet_aux] | INFO -> Using symlinks: False [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] DWPose: Onnxruntime with acceleration providers detected Loaded ControlNetPreprocessors nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux Loaded AdvancedControlNet nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet Could not find AnimateDiff nodes Loaded IPAdapter nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus Could not find VideoHelperSuite nodes Could not load ImpactPack nodes Could not find ImpactPack nodes Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1866, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes__init__.py", line 1, in from inference_core_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS ModuleNotFoundError: No module named 'inference_core_nodes'

Cannot import Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes module for custom nodes: No module named 'inference_core_nodes'

Loading: ComfyUI-Manager (V2.26)

ComfyUI Revision: 2162 [565eb6d1] | Released on '2024-05-05'

[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [comfy_mtb] | INFO -> loaded 70 nodes successfuly [comfy_mtb] | INFO -> Some nodes (5) could not be loaded. This can be ignored, but go to http://127.0.0.1:8188/mtb if you want more information.

[rgthree] Loaded 38 magnificent nodes. [rgthree] Will use rgthree's optimized recursive execution.

WAS Node Suite: OpenCV Python FFMPEG support is enabled WAS Node Suite Warning: ffmpeg_bin_path is not set in Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available. WAS Node Suite: Finished. Loaded 211 nodes successfully.

    "Art is the stored honey of the human soul." - Theodore Dreiser

Import times for custom nodes: 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\sdxl_prompt_styler 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Logic 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Eagle-PNGInfo 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-popup_preview 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux 0.0 seconds (IMPORT FAILED): Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-various 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.1 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop 0.4 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager 1.1 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture 1.2 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb 2.2 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui

Starting server

To see the GUI go to: http://127.0.0.1:8188 FETCH DATA from: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [comfy_mtb] | WARNING -> Found multiple match, we will pick the first Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\upscale_models ['Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\upscale_models', 'Z:\A1111\stable-diffusion-webui\models/ESRGAN', 'Z:\A1111\stable-diffusion-webui\models/RealESRGAN', 'Z:\A1111\stable-diffusion-webui\models/SwinIR'] ✨ Photoshop comfyUi tab with photoshop node added('127.0.0.1', 57174) ✨ Photoshop photoshop Not Connected ✨ Photoshop Photoshop launched('127.0.0.1', 22275) got prompt [rgthree] Using rgthree's optimized recursive execution. [rgthree] First run patching recursive_output_delete_if_changed and recursive_will_execute. [rgthree] Note: If execution seems broken due to forward ComfyUI changes, you can disable the optimization from rgthree settings in ComfyUI. !!! Exception during processing!!! Failed to load directory after 5 attempts. 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. 🔴 otherwise you can restart your photosop and your plugin to Fix this problem Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 31, in PS_Execute self.loadConfig() File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) [Previous line repeated 1 more time] File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 75, in loadConfig raise Exception("Failed to load directory after 5 attempts. \n 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. \n 🔴 otherwise you can restart your photosop and your plugin to Fix this problem") Exception: Failed to load directory after 5 attempts. 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. 🔴 otherwise you can restart your photosop and your plugin to Fix this problem

Prompt executed in 2.51 seconds got prompt [rgthree] Using rgthree's optimized recursive execution. !!! Exception during processing!!! Failed to load directory after 5 attempts. 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. 🔴 otherwise you can restart your photosop and your plugin to Fix this problem Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 31, in PS_Execute self.loadConfig() File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) [Previous line repeated 1 more time] File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 75, in loadConfig raise Exception("Failed to load directory after 5 attempts. \n 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. \n 🔴 otherwise you can restart your photosop and your plugin to Fix this problem") Exception: Failed to load directory after 5 attempts. 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. 🔴 otherwise you can restart your photosop and your plugin to Fix this problem

Prompt executed in 2.51 seconds


Thank you in advance! : )

NimaNzrii commented 4 months ago

Thank you so much @NimaNzrii !! The changes you did now solved that issue and now I can add the Photoshop node :) The only thing is that now I'm getting a new error when I try to draw something on PS. I took a screenshot and I'm posting the report here. Is there anything missing on my end?

PSandComfyUI

Report:

Z:\ComfyUI\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build

ComfyUI-Manager: installing dependencies done.

ComfyUI startup time: 2024-05-05 14:25:28.537572 Platform: Windows Python version: 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)] Python executable: Z:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe ** Log path: Z:\ComfyUI\ComfyUI_windows_portable\comfyui.log

Prestartup times for custom nodes: 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.4 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 8191 MB, total RAM 32689 MB Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync VAE dtype: torch.bfloat16 Using pytorch cross attention Adding extra search path checkpoints Z:\A1111\stable-diffusion-webui\models/Stable-diffusion Adding extra search path configs Z:\A1111\stable-diffusion-webui\models/Stable-diffusion Adding extra search path vae Z:\A1111\stable-diffusion-webui\models/VAE Adding extra search path loras Z:\A1111\stable-diffusion-webui\models/Lora Adding extra search path loras Z:\A1111\stable-diffusion-webui\models/LyCORIS Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/ESRGAN Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/RealESRGAN Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/SwinIR Adding extra search path embeddings Z:\A1111\stable-diffusion-webui\embeddings Adding extra search path hypernetworks Z:\A1111\stable-diffusion-webui\models/hypernetworks Adding extra search path controlnet Z:\A1111\stable-diffusion-webui\models/ControlNet Error: [WinError 1314] A required privilege is not held by the client: 'Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals\js' -> 'Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals' Failed to create symlink to Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals. Please copy the folder manually. Source: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals\js Target: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals Adding Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes to sys.path Could not find efficiency nodes [comfyui_controlnet_aux] | INFO -> Using ckpts path: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [comfyui_controlnet_aux] | INFO -> Using symlinks: False [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] DWPose: Onnxruntime with acceleration providers detected Loaded ControlNetPreprocessors nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux Loaded AdvancedControlNet nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet Could not find AnimateDiff nodes Loaded IPAdapter nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus Could not find VideoHelperSuite nodes Could not load ImpactPack nodes Could not find ImpactPack nodes Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1866, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodesinit.py", line 1, in from inference_core_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS ModuleNotFoundError: No module named 'inference_core_nodes'

Cannot import Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes module for custom nodes: No module named 'inference_core_nodes'

Loading: ComfyUI-Manager (V2.26)

ComfyUI Revision: 2162 [565eb6d1] | Released on '2024-05-05'

[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [comfy_mtb] | INFO -> loaded 70 nodes successfuly [comfy_mtb] | INFO -> Some nodes (5) could not be loaded. This can be ignored, but go to http://127.0.0.1:8188/mtb if you want more information.

[rgthree] Loaded 38 magnificent nodes. [rgthree] Will use rgthree's optimized recursive execution.

WAS Node Suite: OpenCV Python FFMPEG support is enabled WAS Node Suite Warning: ffmpeg_bin_path is not set in Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available. WAS Node Suite: Finished. Loaded 211 nodes successfully.

    "Art is the stored honey of the human soul." - Theodore Dreiser

Import times for custom nodes: 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\sdxl_prompt_styler 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Logic 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Eagle-PNGInfo 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-popup_preview 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux 0.0 seconds (IMPORT FAILED): Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-various 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.1 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop 0.4 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager 1.1 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture 1.2 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb 2.2 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui

Starting server

To see the GUI go to: http://127.0.0.1:8188 FETCH DATA from: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [comfy_mtb] | WARNING -> Found multiple match, we will pick the first Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\upscale_models ['Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\upscale_models', 'Z:\A1111\stable-diffusion-webui\models/ESRGAN', 'Z:\A1111\stable-diffusion-webui\models/RealESRGAN', 'Z:\A1111\stable-diffusion-webui\models/SwinIR'] ✨ Photoshop comfyUi tab with photoshop node added('127.0.0.1', 57174) ✨ Photoshop photoshop Not Connected ✨ Photoshop Photoshop launched('127.0.0.1', 22275) got prompt [rgthree] Using rgthree's optimized recursive execution. [rgthree] First run patching recursive_output_delete_if_changed and recursive_will_execute. [rgthree] Note: If execution seems broken due to forward ComfyUI changes, you can disable the optimization from rgthree settings in ComfyUI. !!! Exception during processing!!! Failed to load directory after 5 attempts. 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. 🔴 otherwise you can restart your photosop and your plugin to Fix this problem Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 31, in PS_Execute self.loadConfig() File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) [Previous line repeated 1 more time] File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 75, in loadConfig raise Exception("Failed to load directory after 5 attempts. \n 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. \n 🔴 otherwise you can restart your photosop and your plugin to Fix this problem") Exception: Failed to load directory after 5 attempts. 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. 🔴 otherwise you can restart your photosop and your plugin to Fix this problem

Prompt executed in 2.51 seconds got prompt [rgthree] Using rgthree's optimized recursive execution. !!! Exception during processing!!! Failed to load directory after 5 attempts. 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. 🔴 otherwise you can restart your photosop and your plugin to Fix this problem Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 68, in loadConfig with open(self.configJson, "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 31, in PS_Execute self.loadConfig() File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 73, in loadConfig self.loadConfig(retry_count + 1) [Previous line repeated 1 more time] File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop\node-Photoshop.py", line 75, in loadConfig raise Exception("Failed to load directory after 5 attempts. \n 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. \n 🔴 otherwise you can restart your photosop and your plugin to Fix this problem") Exception: Failed to load directory after 5 attempts. 🔴 Make sure you have installed and started the Photoshop Plugin Succesfully. 🔴 otherwise you can restart your photosop and your plugin to Fix this problem

Prompt executed in 2.51 seconds

Thank you in advance! : )

update the node and it should be fix now your report helped me a lot:) 🔥 thank you so much

test it and tell me what happened

triplediple commented 4 months ago

Hi @NimaNzrii ! Thanks once again! I updated the node and tried one more time.

PSandComfyUI_2

So, this time I got this:

Z:\ComfyUI\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build

ComfyUI-Manager: installing dependencies done.

ComfyUI startup time: 2024-05-06 12:56:33.173921 Platform: Windows Python version: 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)] Python executable: Z:\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe ** Log path: Z:\ComfyUI\ComfyUI_windows_portable\comfyui.log

Prestartup times for custom nodes: 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.5 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 8191 MB, total RAM 32689 MB Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync VAE dtype: torch.bfloat16 Using pytorch cross attention Adding extra search path checkpoints Z:\A1111\stable-diffusion-webui\models/Stable-diffusion Adding extra search path configs Z:\A1111\stable-diffusion-webui\models/Stable-diffusion Adding extra search path vae Z:\A1111\stable-diffusion-webui\models/VAE Adding extra search path loras Z:\A1111\stable-diffusion-webui\models/Lora Adding extra search path loras Z:\A1111\stable-diffusion-webui\models/LyCORIS Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/ESRGAN Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/RealESRGAN Adding extra search path upscale_models Z:\A1111\stable-diffusion-webui\models/SwinIR Adding extra search path embeddings Z:\A1111\stable-diffusion-webui\embeddings Adding extra search path hypernetworks Z:\A1111\stable-diffusion-webui\models/hypernetworks Adding extra search path controlnet Z:\A1111\stable-diffusion-webui\models/ControlNet Error: [WinError 1314] A required privilege is not held by the client: 'Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals\js' -> 'Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals' Failed to create symlink to Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals. Please copy the folder manually. Source: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals\js Target: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\web\extensions\ComfyLiterals Adding Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes to sys.path Could not find efficiency nodes [comfyui_controlnet_aux] | INFO -> Using ckpts path: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [comfyui_controlnet_aux] | INFO -> Using symlinks: False [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] DWPose: Onnxruntime with acceleration providers detected Loaded ControlNetPreprocessors nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux Loaded AdvancedControlNet nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet Could not find AnimateDiff nodes Loaded IPAdapter nodes from Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus Could not find VideoHelperSuite nodes Could not load ImpactPack nodes Could not find ImpactPack nodes Traceback (most recent call last): File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1866, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes__init__.py", line 1, in from inference_core_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS ModuleNotFoundError: No module named 'inference_core_nodes'

Cannot import Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes module for custom nodes: No module named 'inference_core_nodes'

Loading: ComfyUI-Manager (V2.27)

ComfyUI Revision: 2162 [565eb6d1] | Released on '2024-05-05'

[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [comfy_mtb] | INFO -> loaded 70 nodes successfuly [comfy_mtb] | INFO -> Some nodes (5) could not be loaded. This can be ignored, but go to http://127.0.0.1:8188/mtb if you want more information.

[rgthree] Loaded 38 extraordinary nodes. [rgthree] Will use rgthree's optimized recursive execution.

WAS Node Suite: OpenCV Python FFMPEG support is enabled WAS Node Suite Warning: ffmpeg_bin_path is not set in Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available. WAS Node Suite: Finished. Loaded 211 nodes successfully.

    "Every artist was first an amateur." - Ralph Waldo Emerson

Import times for custom nodes: 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\sdxl_prompt_styler 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Logic 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Eagle-PNGInfo 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-popup_preview 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials 0.0 seconds (IMPORT FAILED): Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyLiterals 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-various 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet 0.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.1 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-photoshop 0.4 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager 1.0 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture 1.2 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb 2.2 seconds: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui

Starting server

To see the GUI go to: http://127.0.0.1:8188 FETCH DATA from: Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [comfy_mtb] | WARNING -> Found multiple match, we will pick the first Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\upscale_models ['Z:\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\upscale_models', 'Z:\A1111\stable-diffusion-webui\models/ESRGAN', 'Z:\A1111\stable-diffusion-webui\models/RealESRGAN', 'Z:\A1111\stable-diffusion-webui\models/SwinIR'] 🔷 Photoshop node added('127.0.0.1', 56358) 🔷 Photoshop Not Connected 🔷 Photoshop launched('127.0.0.1', 44995) got prompt Failed to validate prompt for output 1428:

Prompt executed in 0.09 seconds got prompt Failed to validate prompt for output 1428:

Prompt executed in 0.03 seconds


waiting to hear back from you, Thanks!

triplediple commented 4 months ago

Just passing by to say thank you ! It started working now : )