Open hassakajin opened 1 month ago
Same here. My workflow now shows the same error after updating ComfyUI. It was working fine for months before. I have made no changes. EDIT: Fixed by selecting in ComfyUI "Update All"
same here.
I am unable to reproduce your issue. Please open a terminal window in the plugin directory and enter
../..// python_embeded/python.exe -s -m pip list > piplist.txt
Then attach piplist. txt here
I’m experiencing the same issue. I’m running it from a Docker container on Linux, though. Attaching the pip list for that environment below.
I’m experiencing the same issue. I’m running it from a Docker container on Linux, though. Atta piplist.txt ching the pip list for that environment below.
Same here, I attached mine too piplist.txt
Downgraded transformers to 4.32.2 and it works now.
ComfyUI Error Report
Error Details
Exception Message: 'NoneType' object is not callable
Stack Trace
2024-09-30 16:23:24,851 - root - INFO - Total VRAM 16376 MB, total RAM 32687 MB 2024-09-30 16:23:24,851 - root - INFO - pytorch version: 2.4.1+cu124 2024-09-30 16:23:24,853 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-30 16:23:24,853 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync 2024-09-30 16:23:25,927 - root - INFO - Using pytorch cross attention 2024-09-30 16:23:27,202 - root - INFO - [Prompt Server] web root: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\web 2024-09-30 16:23:27,820 - root - WARNING - Traceback (most recent call last): File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\nodes.py", line 1998, in load_custom_node module_spec.loader.exec_module(module) File "", line 936, in exec_module
File "", line 1073, in get_code
File "", line 1130, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\color-matcher\init.py'
2024-09-30 16:23:27,820 - root - WARNING - Cannot import D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\color-matcher module for custom nodes: [Errno 2] No such file or directory: 'D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\color-matcher\init.py' 2024-09-30 16:23:30,461 - datasets - INFO - PyTorch version 2.4.1+cu124 available. 2024-09-30 16:23:30,464 - datasets - INFO - JAX version 0.4.33 available. 2024-09-30 16:23:31,326 - root - INFO - Total VRAM 16376 MB, total RAM 32687 MB 2024-09-30 16:23:31,326 - root - INFO - pytorch version: 2.4.1+cu124 2024-09-30 16:23:31,327 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-30 16:23:31,328 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync 2024-09-30 16:23:34,389 - root - INFO - Import times for custom nodes: 2024-09-30 16:23:34,389 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\websocket_image_save.py 2024-09-30 16:23:34,390 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Image-Selector 2024-09-30 16:23:34,390 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\LoadLoraWithTags 2024-09-30 16:23:34,390 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\efficiency-nodes-comfyui 2024-09-30 16:23:34,391 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\cg-use-everywhere 2024-09-30 16:23:34,391 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus 2024-09-30 16:23:34,391 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\cd-tuner_negpip-ComfyUI 2024-09-30 16:23:34,393 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\comfyui-diffusion-cg 2024-09-30 16:23:34,395 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite 2024-09-30 16:23:34,395 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_Cutoff 2024-09-30 16:23:34,396 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\masquerade-nodes-comfyui 2024-09-30 16:23:34,396 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\cg-image-picker 2024-09-30 16:23:34,396 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-MakeFrame 2024-09-30 16:23:34,397 - root - INFO - 0.0 seconds (IMPORT FAILED): D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\color-matcher 2024-09-30 16:23:34,397 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\comfyui_controlnet_aux 2024-09-30 16:23:34,397 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger 2024-09-30 16:23:34,398 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Universal-Styler 2024-09-30 16:23:34,398 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-post-processing-nodes 2024-09-30 16:23:34,398 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\comfyui-inpaint-nodes 2024-09-30 16:23:34,399 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Kolors-MZ 2024-09-30 16:23:34,399 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Text_Image-Composite 2024-09-30 16:23:34,399 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Video-Matting 2024-09-30 16:23:34,400 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Impact-Pack 2024-09-30 16:23:34,400 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_FizzNodes 2024-09-30 16:23:34,400 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyMath 2024-09-30 16:23:34,400 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts 2024-09-30 16:23:34,400 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale 2024-09-30 16:23:34,401 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Chibi-Nodes 2024-09-30 16:23:34,401 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNodes 2024-09-30 16:23:34,401 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Frame-Interpolation 2024-09-30 16:23:34,402 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\comfy-image-saver 2024-09-30 16:23:34,402 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\sd-webui-color-enhance 2024-09-30 16:23:34,402 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\rgthree-comfy 2024-09-30 16:23:34,403 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-KJNodes 2024-09-30 16:23:34,403 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved 2024-09-30 16:23:34,403 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes 2024-09-30 16:23:34,404 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_smZNodes 2024-09-30 16:23:34,404 - root - INFO - 0.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\facerestore_cf 2024-09-30 16:23:34,404 - root - INFO - 0.1 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack 2024-09-30 16:23:34,405 - root - INFO - 0.1 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-tbox 2024-09-30 16:23:34,405 - root - INFO - 0.3 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Manager 2024-09-30 16:23:34,405 - root - INFO - 0.5 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Easy-Use 2024-09-30 16:23:34,406 - root - INFO - 0.8 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-Allor 2024-09-30 16:23:34,406 - root - INFO - 0.9 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_LayerStyle 2024-09-30 16:23:34,406 - root - INFO - 1.0 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\comfyui-art-venture 2024-09-30 16:23:34,407 - root - INFO - 1.1 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI-CogVideoXWrapper 2024-09-30 16:23:34,409 - root - INFO - 1.5 seconds: D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\was-node-suite-comfyui 2024-09-30 16:23:34,410 - root - INFO - 2024-09-30 16:23:34,423 - root - INFO - Starting server
2024-09-30 16:23:34,424 - root - INFO - To see the GUI go to: http://127.0.0.1:8188 2024-09-30 16:24:13,935 - root - INFO - got prompt 2024-09-30 16:24:15,661 - root - ERROR - !!! Exception during processing !!! 'NoneType' object is not callable 2024-09-30 16:24:15,663 - root - ERROR - Traceback (most recent call last): File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 570, in florence2_image2prompt results, output_image = process_image(model, processor, img, task, max_new_tokens, num_beams, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 234, in process_image result = run_example(model, processor, task_prompt, image, max_new_tokens, num_beams, do_sample) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 205, in run_example inputs = processor(text=prompt, images=image, return_tensors="pt").to(device) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not callable
2024-09-30 16:24:15,664 - root - INFO - Prompt executed in 1.72 seconds 2024-09-30 16:24:54,618 - root - INFO - got prompt 2024-09-30 16:24:54,702 - root - ERROR - !!! Exception during processing !!! 'NoneType' object is not callable 2024-09-30 16:24:54,703 - root - ERROR - Traceback (most recent call last): File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 570, in florence2_image2prompt results, output_image = process_image(model, processor, img, task, max_new_tokens, num_beams, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 234, in process_image result = run_example(model, processor, task_prompt, image, max_new_tokens, num_beams, do_sample) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\ComfySVD\ComfyUI\ComfyUI_windows_portableC\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 205, in run_example inputs = processor(text=prompt, images=image, return_tensors="pt").to(device) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not callable
2024-09-30 16:24:54,704 - root - INFO - Prompt executed in 0.07 seconds
{"last_node_id":7,"last_link_id":6,"nodes":[{"id":3,"type":"LoadImage","pos":{"0":-8,"1":459},"size":{"0":315,"1":314.0000305175781},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[2],"shape":3},{"name":"MASK","type":"MASK","links":null,"shape":3}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["1338125.png","image"]},{"id":7,"type":"ShowText|pysssss","pos":{"0":1261.3526611328125,"1":454.0372619628906},"size":{"0":315,"1":58},"flags":{},"order":3,"mode":0,"inputs":[{"name":"text","type":"STRING","link":6,"widget":{"name":"text"}}],"outputs":[{"name":"STRING","type":"STRING","links":null,"shape":6}],"properties":{"Node name for S&R":"ShowText|pysssss"},"widgets_values":[""]},{"id":2,"type":"LayerMask: LoadFlorence2Model","pos":{"0":-63,"1":229},"size":{"0":390.5999755859375,"1":58},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"florence2_model","type":"FLORENCE2","links":[1],"shape":3}],"properties":{"Node name for S&R":"LayerMask: LoadFlorence2Model"},"widgets_values":["base"],"color":"rgba(27, 80, 119, 0.7)"},{"id":1,"type":"LayerUtility: Florence2Image2Prompt","pos":{"0":667,"1":267},"size":{"0":453.5999755859375,"1":198},"flags":{},"order":2,"mode":0,"inputs":[{"name":"florence2_model","type":"FLORENCE2","link":1},{"name":"image","type":"IMAGE","link":2}],"outputs":[{"name":"text","type":"STRING","links":[6],"slot_index":0,"shape":3},{"name":"preview_image","type":"IMAGE","links":null,"shape":3}],"properties":{"Node name for S&R":"LayerUtility: Florence2Image2Prompt"},"widgets_values":["more detailed caption","",1024,3,false,false],"color":"rgba(38, 73, 116, 0.7)"}],"links":[[1,2,0,1,0,"FLORENCE2"],[2,3,0,1,1,"IMAGE"],[6,1,0,7,0,"STRING"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1671841070450042,"offset":[42.21155860773683,-68.4397229996926]}},"version":0.4}