was-node-suite-comfyui icon indicating copy to clipboard operation
was-node-suite-comfyui copied to clipboard

Nodes not loading after ComfyUI Update

Open dreamlogic-X opened this issue 1 year ago • 8 comments

Hi there appears to be a problem with loading WAS nodes, as of the update that happened 2024-05-25. I'm now on ComfyUI: 5b26da2 now.

The error is as follows:

Traceback (most recent call last):
  File "/notebooks/ComfyUI/nodes.py", line 1879, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/notebooks/ComfyUI/custom_nodes/was-node-suite-comfyui/__init__.py", line 1, in <module>
    from .WAS_Node_Suite import NODE_CLASS_MAPPINGS
  File "/notebooks/ComfyUI/custom_nodes/was-node-suite-comfyui/WAS_Node_Suite.py", line 2398, in <module>
    from transformers import BlipProcessor, BlipForConditionalGeneration, BlipForQuestionAnswering
ImportError: cannot import name 'BlipProcessor' from 'transformers' (/usr/local/lib/python3.9/dist-packages/transformers/__init__.py)

Cannot import /notebooks/ComfyUI/custom_nodes/was-node-suite-comfyui module for custom nodes: cannot import name 'BlipProcessor' from 'transformers' (/usr/local/lib/python3.9/dist-packages/transformers/__init__.py)
...
Import times for custom nodes:
...
   0.1 seconds (IMPORT FAILED): /notebooks/ComfyUI/custom_nodes/was-node-suite-comfyui
...

Help would be appreciated to get this running again! Thank you.

dreamlogic-X avatar May 28 '24 04:05 dreamlogic-X

At least you have it still appearing in comfyui. Mine gets (IMPORT FAILED): E:\Stability\Data\Packages\ComfyUI\custom_nodes\was-node-suite-comfyui,

Pandasarethebest93 avatar May 28 '24 22:05 Pandasarethebest93

Same here import failed, won't update.

treeshark12 avatar Jun 03 '24 07:06 treeshark12

Import fails after the last ComfyUI: 2222[809cc8](2024-06-02) update. Currently, I disabled it ¯_(ツ)_/¯

NeoAnthropocene avatar Jun 03 '24 13:06 NeoAnthropocene

Same here import failed, the metion is below:

When loading the graph, the follwoing node types were not found:

  • Image Save
  • String to Text

Nodes that have failed to load will show as red on the graph.

AmazingGrace8150 avatar Jun 04 '24 06:06 AmazingGrace8150

Same here, none of custom nodes load. Happens after an update. System is Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy fixed using "pip install spandrel"

Patrick-81 avatar Jun 17 '24 06:06 Patrick-81

Reinstall the node requirements.

WASasquatch avatar Jun 20 '24 13:06 WASasquatch

same here WASnodes do not even git clone any more. it fails

mattymatty avatar Aug 10 '24 22:08 mattymatty

Fix: I had to turn off --listen before installing

mattymatty avatar Aug 10 '24 22:08 mattymatty