Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'MaskRectArea' is not defined更新后就加载不了 #888

Open
xiezhen223600 opened this issue Jan 19, 2025 · 5 comments
Open

Comments

@xiezhen223600
Copy link

Loading: ComfyUI-Impact-Pack (V8.4.1)
[Impact Pack] Wildcards loading done.
Traceback (most recent call last):
File "I:\1SDAI\Comfyui_XZ\nodes.py", line 2106, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-Impact-Pack_init
.py", line 140, in
"MaskRectArea": MaskRectArea,
NameError: name 'MaskRectArea' is not defined
节点节点节点更节点更新后就这样了。提示这个函数无法定位。

@ltdrdata
Copy link
Owner

Please upload the full log.

@xiezhen223600
Copy link
Author

[START] Security scan
[DONE] Security scan

ComfyUI-Manager: installing dependencies done.

** ComfyUI startup time: 2025-01-20 12:32:28.524
** Platform: Windows
** Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
** Python executable: I:\1SDAI\Comfyui_XZ.ext\python.exe
** ComfyUI Path: I:\1SDAI\Comfyui_XZ
** User directory: I:\1SDAI\Comfyui_XZ\user
** ComfyUI-Manager config path: I:\1SDAI\Comfyui_XZ\user\default\ComfyUI-Manager\config.ini
** Log path: I:\1SDAI\Comfyui_XZ\user\comfyui.log

Prestartup times for custom nodes:
0.0 seconds: I:\1SDAI\Comfyui_XZ\custom_nodes\rgthree-comfy
0.0 seconds: I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-Easy-Use
0.3 seconds: I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-PMRF
16.9 seconds: I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-Manager

Checkpoint files will always be loaded safely.
Total VRAM 24575 MB, total RAM 65345 MB
pytorch version: 2.5.1+cu124
xformers version: 0.0.28.post3
Set vram state to: NORMAL_VRAM
Disabling smart memory management
Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
Using xformers attention
[Prompt Server] web root: I:\1SDAI\Comfyui_XZ\web

====================================
[LG节点] 授权验证成功
节点已成功加载

模型导入成功
installed topaz.js to I:\1SDAI\Comfyui_XZ\web\extensions\topaz
Web extensions folder found at I:\1SDAI\Comfyui_XZ\web\extensions\ComfyLiterals
[Allor]: 0 nodes were overridden.
[Allor]: 12 modules were enabled.
[Allor]: 98 nodes were loaded.
Adding I:\1SDAI\Comfyui_XZ\custom_nodes to sys.path
Efficiency Nodes: Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...Success!
Loaded Efficiency nodes from I:\1SDAI\Comfyui_XZ\custom_nodes\efficiency-nodes-comfyui
Loaded ControlNetPreprocessors nodes from I:\1SDAI\Comfyui_XZ\custom_nodes\comfyui_controlnet_aux
Loaded AdvancedControlNet nodes from I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-Advanced-ControlNet
Could not find AnimateDiff nodes
Loaded IPAdapter nodes from I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI_IPAdapter_plus
Loaded VideoHelperSuite from I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-VideoHelperSuite

Loading: ComfyUI-Impact-Pack (V8.4.1)

Loading: ComfyUI-Impact-Pack (V8.4.1)

Loading: ComfyUI-Impact-Pack (Subpack: V0.6)

Could not load ImpactPack nodes name 'MaskRectArea' is not defined
[Impact Pack] Wildcards loading done.
[Impact Pack] Wildcards loading done.
PyTorch version 2.5.0+cu124 available.
TensorFlow version 2.12.0 available.
ConDelta Nodes: Loaded
[Crystools INFO] Crystools version: 1.21.0
[Crystools INFO] CPU: 12th Gen Intel(R) Core(TM) i7-12700KF - Arch: Arch unknown - OS: Windows 10
[Crystools INFO] Pynvml (Nvidia) initialized.
[Crystools INFO] GPU/s:
[Crystools INFO] 0) NVIDIA GeForce RTX 3090
[Crystools INFO] NVIDIA Driver: 566.36
Total VRAM 24575 MB, total RAM 65345 MB
pytorch version: 2.5.1+cu124
xformers version: 0.0.28.post3
Set vram state to: NORMAL_VRAM
Disabling smart memory management
Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
use sdp attention as default
keep default attention mode
[ComfyUI-Easy-Use] server: v1.2.7 Loaded
[ComfyUI-Easy-Use] web root: I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-Easy-Use\web_version/v2 Loaded
Comfyui-ergouzi-DGNJD:解锁更多宝贵时光,去做更有意义的事情,这才是AI--------B站@灵仙儿和二狗子
installed gigapixel.js to I:\1SDAI\Comfyui_XZ\web\extensions\gigapixel

Loading: ComfyUI-Impact-Pack (V8.4.1)

[Impact Pack] Wildcards loading done.
Traceback (most recent call last):
File "I:\1SDAI\Comfyui_XZ\nodes.py", line 2106, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-Impact-Pack_init
.py", line 140, in
"MaskRectArea": MaskRectArea,
NameError: name 'MaskRectArea' is not defined

Cannot import I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-Impact-Pack module for custom nodes: name 'MaskRectArea' is not defined

Loading: ComfyUI-Impact-Subpack (V1.2.7)

[Impact Subpack] ultralytics_bbox: I:\1SDAI\Comfyui_XZ\models\ultralytics\bbox
[Impact Subpack] ultralytics_segm: I:\1SDAI\Comfyui_XZ\models\ultralytics\segm

Loading: ComfyUI-Inspire-Pack (V1.10)

----------Jake Upgrade Nodes Loaded----------
theUpsiders Logic Nodes: Loaded

Loading: ComfyUI-Manager (V3.9.2)

ComfyUI Version: v0.3.12-6-gb4de04a1 | Released on '2025-01-18'


Mixlab Nodes: Loaded

ChatGPT.available False
edit_mask.available True
simple_lama_inpainting## OK
LaMaInpainting.available True

clip_interrogator_model not found: I:\1SDAI\Comfyui_XZ\models\clip_interrogator\Salesforce\blip-image-captioning-base, pls download from https://huggingface.co/Salesforce/blip-image-captioning-base

ClipInterrogator.available True

text_generator_model not found: I:\1SDAI\Comfyui_XZ\models\prompt_generator\text2image-prompt-generator, pls download from https://huggingface.co/succinctly/text2image-prompt-generator/tree/main

zh_en_model not found: I:\1SDAI\Comfyui_XZ\models\prompt_generator\opus-mt-zh-en, pls download from https://huggingface.co/Helsinki-NLP/opus-mt-zh-en/tree/main

PromptGenerate.available True
ChinesePrompt.available True
RembgNode_.available True
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
TripoSR.available
MiniCPMNode.available
Scenedetect.available False
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
FishSpeech.available
SenseVoice.available False
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
Whisper.available
fal-client## OK
FalVideo.available

Version of aiofiles: Not found
ComfyUI-N-Sidebar is loading...
[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
I:\1SDAI\Comfyui_XZ.ext\lib\site-packages\torchmetrics\utilities\prints.py:43: UserWarning: Metric InceptionScore will save all extracted features in buffer. For large datasets this may lead to large memory footprint.
warnings.warn(*args, **kwargs) # noqa: B028
Loading weights from local directory
Nvidia APEX normalization not installed, using PyTorch LayerNorm
Failed to auto update Quality of Life Suit
QualityOfLifeSuit_Omar92_DIR: I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-QualityOfLifeSuit_Omar92
[ReActor] - STATUS - Running v0.5.2-a2 in ComfyUI
Torch version: 2.5.1+cu124
(pysssss:WD14Tagger) [DEBUG] Available ORT providers: TensorrtExecutionProvider, CUDAExecutionProvider, CPUExecutionProvider
(pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider

From Bmad Custom Nodes
Loaded 125 nodes:

  • api nodes (14)
  • simple utility nodes (58)
  • CV nodes (50)
  • color clip ade20k node (1)
  • extension dependent nodes (2)

Comfyroll Studio v1.76 : 175 Nodes Loaded

** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki

[START] ComfyUI AlekPet Nodes v1.0.41

** Comfly Loaded : fly, just fly
Node -> ChatGLMNode: ChatGLM4TranslateCLIPTextEncodeNode, ChatGLM4TranslateTextNode, ChatGLM4InstructNode, ChatGLM4InstructMediaNode [Loading]
Node -> ArgosTranslateNode: ArgosTranslateCLIPTextEncodeNode, ArgosTranslateTextNode [Loading]
Node -> GoogleTranslateNode: GoogleTranslateCLIPTextEncodeNode, GoogleTranslateTextNode [Loading]
Node -> DeepTranslatorNode: DeepTranslatorCLIPTextEncodeNode, DeepTranslatorTextNode [Loading]
Node -> PoseNode: PoseNode [Loading]
Node -> ExtrasNode: PreviewTextNode, HexToHueNode, ColorsCorrectNode [Loading]
Node -> IDENode: IDENode [Loading]
Node -> PainterNode: PainterNode [Loading]

[END] ComfyUI AlekPet Nodes

FizzleDorf Custom Nodes: Loaded
missing pkgs
Loading ComfyUI-Lam
[tinyterraNodes] Loaded
llama-cpp installed
FETCH ComfyRegistry Data: 5/30
[comfy_mtb] | INFO -> loaded 94 nodes successfuly
[comfy_mtb] | INFO -> Some nodes (2) could not be loaded. This can be ignored, but go to http://127.0.0.1:8999/mtb if you want more information.
FaceDetailer: Model directory already exists
FaceDetailer: Model already exists
Eden_Comfy_Pipelines: WARNING: Could not find OPENAI_API_KEY in .env, disabling gpt prompt generation.
Nvidia APEX normalization not installed, using PyTorch LayerNorm

[rgthree-comfy] Loaded 42 exciting nodes. 🎉

Please 'pip install apex'
WAS Node Suite: BlenderNeko's Advanced CLIP Text Encode found, attempting to enable CLIPTextEncode support.
WAS Node Suite: CLIPTextEncode (BlenderNeko Advanced + NSP) node enabled under WAS Suite/Conditioning menu.
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: ffmpeg_bin_path is not set in I:\1SDAI\Comfyui_XZ\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 221 nodes successfully.

    "Art is the journey of a free soul." - Alev Oguz

@ltdrdata
Copy link
Owner

Disable all custom nodes except Impact Pack and try again.

@xiezhen223600
Copy link
Author

总算找到问题了。comfyui-art-venture节点不能开,有冲突。大神有解决办法吗?

@ltdrdata
Copy link
Owner

I cannot reproduce this issue.
goto I:\1SDAI\Comfyui_XZ\custom_nodes\ComfyUI-Impact-Pack in cmd
and execute git status

What is displayed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants