ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Error occurred when executing CheckpointLoaderSimple: name 'execution_block_cb' is not defined

Open RODRIGOAGJ opened this issue 1 year ago • 1 comments

Your question

Greetings! I seek your expertise to assist in resolving an error in execution.py:

def execution_block_cb(block): if block.message is not None: mes = { "prompt_id": prompt_id, "node_id": unique_id, "node_type": class_type, "executed": list(executed),

                    "exception_message": f"Execution Blocked: {block.message}",
                    "exception_type": "ExecutionBlocked",
                    "traceback": [],
                    "current_inputs": [],
                    "current_outputs": [],
                }
                server.send_sync("execution_error", mes, server.client_id)
                return ExecutionBlocker(None)
            else:
                return block   

Can't start ComfyUI, I sincerely value your assistance. Best regards Screenshot 2024-08-16 191040

Logs

No response

Other

No response

RODRIGOAGJ avatar Aug 16 '24 23:08 RODRIGOAGJ

This is a custom node issue, try updating.

comfyanonymous avatar Aug 18 '24 05:08 comfyanonymous

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

github-actions[bot] avatar Feb 23 '25 11:02 github-actions[bot]