8000 prompt has no outputs · Issue #8195 · comfyanonymous/ComfyUI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

prompt has no outputs #8195

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

Closed
1854039 opened this issue May 19, 2025 · 3 comments
Closed

prompt has no outputs #8195

1854039 opened this issue May 19, 2025 · 3 comments
Labels
User Support A user needs help with something, probably not a bug.

Comments

@1854039
Copy link
1854039 commented May 19, 2025

Your question

i create a batch joycaption 2 workflow on desk version comfyui. and get the bug says that prompt has no outputs . Report shown as below.
the workflow looks like this:

Image

Logs

# ComfyUI Error Report
## Error Details
- **Node ID:** N/A
- **Node Type:** N/A
- **Exception Type:** 提示执行失败
- **Exception Message:** Prompt has no outputs: 
## Stack Trace

Error: Prompt execution failed
    at ComfyApi.queuePrompt (http://127.0.0.1:8000/assets/index-C5RuwxF-.js:105341:13)
    at async ComfyApp.queuePrompt (http://127.0.0.1:8000/assets/index-C5RuwxF-.js:273312:25)
    at async function (http://127.0.0.1:8000/assets/GraphView-Yxye4U5I.js:5212:9)
    at async http://127.0.0.1:8000/assets/index-C5RuwxF-.js:205537:14
    at async Proxy.execute (http://127.0.0.1:8000/assets/index-C5RuwxF-.js:207590:7)
    at async queuePrompt (http://127.0.0.1:8000/assets/GraphView-Yxye4U5I.js:4350:7)

## System Information
- **ComfyUI Version:** 0.3.34
- **Arguments:** /Applications/ComfyUI.app/Contents/Resources/ComfyUI/main.py --user-directory /Users/dxm/Documents/ComfyUI/user --input-directory /Users/dxm/Documents/ComfyUI/input --output-directory /Users/dxm/Documents/ComfyUI/output --front-end-root /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app --base-directory /Users/dxm/Documents/ComfyUI --extra-model-paths-config /Users/dxm/Library/Application Support/ComfyUI/extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8000 --disable-cuda-malloc --cpu-vae
- **OS:** posix
- **Python Version:** 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
- **Embedded Python:** false
- **PyTorch Version:** 2.8.0.dev20250518
## Devices

- **Name:** mps
  - **Type:** mps
  - **VRAM Total:** 17179869184
  - **VRAM Free:** 3774136320
  - **Torch VRAM Total:** 17179869184
  - **Torch VRAM Free:** 3774136320

## Logs

2025-05-19T15:35:04.994316 - Adding extra search path custom_nodes /Users/dxm/Documents/ComfyUI/custom_nodes
2025-05-19T15:35:04.994361 - Adding extra search path download_model_base /Users/dxm/Documents/ComfyUI/models
2025-05-19T15:35:04.994386 - Adding extra search path custom_nodes /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes
2025-05-19T15:35:04.994402 - Setting output directory to: /Users/dxm/Documents/ComfyUI/output
2025-05-19T15:35:04.994424 - Setting input directory to: /Users/dxm/Documents/ComfyUI/input
2025-05-19T15:35:04.994434 - Setting user directory to: /Users/dxm/Documents/ComfyUI/user
2025-05-19T15:35:05.399369 - [START] Security scan2025-05-19T15:35:05.399377 - 
2025-05-19T15:35:05.911395 - [DONE] Security scan2025-05-19T15:35:05.911447 - 
2025-05-19T15:35:05.985340 - ## ComfyUI-Manager: installing dependencies done.2025-05-19T15:35:05.985383 - 
2025-05-19T15:35:05.985407 - ** ComfyUI startup time:2025-05-19T15:35:05.985420 -  2025-05-19T15:35:05.985430 - 2025-05-19 15:35:05.9852025-05-19T15:35:05.985440 - 
2025-05-19T15:35:05.985455 - ** Platform:2025-05-19T15:35:05.985464 -  2025-05-19T15:35:05.985473 - Darwin2025-05-19T15:35:05.985482 - 
2025-05-19T15:35:05.985492 - ** Python version:2025-05-19T15:35:05.985501 -  2025-05-19T15:35:05.985510 - 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]2025-05-19T15:35:05.985519 - 
2025-05-19T15:35:05.985528 - ** Python executable:2025-05-19T15:35:05.985537 -  2025-05-19T15:35:05.985546 - /Users/dxm/Documents/ComfyUI/.venv/bin/python2025-05-19T15:35:05.985555 - 
2025-05-19T15:35:05.985564 - ** ComfyUI Path:2025-05-19T15:35:05.985572 -  2025-05-19T15:35:05.985581 - /Applications/ComfyUI.app/Contents/Resources/ComfyUI2025-05-19T15:35:05.985589 - 
2025-05-19T15:35:05.985598 - ** ComfyUI Base Folder Path:2025-05-19T15:35:05.985607 -  2025-05-19T15:35:05.985616 - /Applications/ComfyUI.app/Contents/Resources/ComfyUI2025-05-19T15:35:05.985624 - 
2025-05-19T15:35:05.985633 - ** User directory:2025-05-19T15:35:05.985642 -  2025-05-19T15:35:05.985650 - /Users/dxm/Documents/ComfyUI/user2025-05-19T15:35:05.985659 - 
2025-05-19T15:35:05.985668 - ** ComfyUI-Manager config path:2025-05-19T15:35:05.985676 -  2025-05-19T15:35:05.985684 - /Users/dxm/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini2025-05-19T15:35:05.985692 - 
2025-05-19T15:35:05.985703 - ** Log path:2025-05-19T15:35:05.985711 -  2025-05-19T15:35:05.985724 - /Users/dxm/Documents/ComfyUI/user/comfyui.log2025-05-19T15:35:05.985735 - 
2025-05-19T15:35:06.440305 - [ComfyUI-Manager] Failed to restore comfyui-frontend-package
2025-05-19T15:35:06.440430 - expected str, bytes or os.PathLike object, not NoneType
2025-05-19T15:35:06.440582 - 
Prestartup times for custom nodes:
2025-05-19T15:35:06.440617 -    1.4 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
2025-05-19T15:35:06.440639 - 
2025-05-19T15:35:07.343153 - Checkpoint files will always be loaded safely.
2025-05-19T15:35:07.365978 - Total VRAM 16384 MB, total RAM 16384 MB
2025-05-19T15:35:07.366050 - pytorch version: 2.8.0.dev20250518
2025-05-19T15:35:07.367794 - Mac Version (13, 4)
2025-05-19T15:35:07.367957 - Set vram state to: SHARED
2025-05-19T15:35:07.367996 - Device: mps
2025-05-19T15:35:08.327066 - Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
2025-05-19T15:35:10.060726 - Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
2025-05-19T15:35:10.060792 - ComfyUI version: 0.3.34
2025-05-19T15:35:10.062306 - [Prompt Server] web root: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app
2025-05-19T15:35:10.572326 - ### Loading: ComfyUI-Manager (V3.30.4)
2025-05-19T15:35:10.572717 - [ComfyUI-Manager] network_mode: public
2025-05-19T15:35:10.579710 - ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
2025-05-19T15:35:10.582985 - 
Import times for custom nodes:
2025-05-19T15:35:10.583049 -    0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py
2025-05-19T15:35:10.583079 -    0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
2025-05-19T15:35:10.583104 -    0.1 seconds: /Users/dxm/Documents/ComfyUI/custom_nodes/comfyui_slk_joy_caption_two
2025-05-19T15:35:10.583313 - 
2025-05-19T15:35:10.594401 - Starting server

2025-05-19T15:35:10.594622 - To see the GUI go to: http://127.0.0.1:8000
2025-05-19T15:35:10.779488 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-05-19T15:35:10.791944 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-05-19T15:35:10.864455 - [ComfyUI-Manager] default cache updated: https://raw.gi
8000
thubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-05-19T15:35:10.947136 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-05-19T15:35:11.117539 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-05-19T15:35:14.197818 - got prompt
2025-05-19T15:35:14.198969 - invalid prompt: {'type': 'prompt_no_outputs', 'message': 'Prompt has no outputs', 'details': '', 'extra_info': {}}


## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"id":"89cbbecd-10c7-4fe6-ae28-5078159eb4cb","revision":0,"last_node_id":21,"last_link_id":35,"nodes":[{"id":18,"type":"Joy_caption_two_load","pos":[-861.8475952148438,189.04356384277344],"size":[270,58],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null}],"outputs":[{"localized_name":"JoyTwoPipeline","name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[34]}],"properties":{"cnr_id":"comfyui_slk_joy_caption_two","ver":"0.0.8","Node name for S&R":"Joy_caption_two_load"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct"]},{"id":21,"type":"PrimitiveString","pos":[-89.1956787109375,197.28099060058594],"size":[270,58],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"值","name":"value","type":"STRING","widget":{"name":"value"},"link":35}],"outputs":[{"localized_name":"字符串","name":"STRING","type":"STRING","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.34","Node name for S&R":"PrimitiveString"},"widgets_values":[""]},{"id":20,"type":"Batch_joy_caption_two_advanced","pos":[-493.005859375,171.18417358398438],"size":[309.2437438964844,390],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"joy_two_pipeline","name":"joy_two_pipeline","type":"JoyTwoPipeline","link":34},{"localized_name":"extra_options","name":"extra_options","type":"Extra_Options","link":null},{"localized_name":"input_dir","name":"input_dir","type":"STRING","widget":{"name":"input_dir"},"link":null},{"localized_name":"output_dir","name":"output_dir","type":"STRING","widget":{"name":"output_dir"},"link":null},{"localized_name":"rename","name":"rename","type":"BOOLEAN","widget":{"name":"rename"},"link":null},{"localized_name":"prefix_name","name":"prefix_name","type":"STRING","widget":{"name":"prefix_name"},"link":null},{"localized_name":"start_index","name":"start_index","type":"INT","widget":{"name":"start_index"},"link":null},{"localized_name":"caption_type","name":"caption_type","type":"COMBO","widget":{"name":"caption_type"},"link":null},{"localized_name":"caption_length","name":"caption_length","type":"COMBO","widget":{"name":"caption_length"},"link":null},{"localized_name":"name","name":"name","type":"STRING","widget":{"name":"name"},"link":null},{"localized_name":"custom_prompt","name":"custom_prompt","type":"STRING","widget":{"name":"custom_prompt"},"link":null},{"localized_name":"low_vram","name":"low_vram","type":"BOOLEAN","widget":{"name":"low_vram"},"link":null},{"localized_name":"top_p","name":"top_p","type":"FLOAT","widget":{"name":"top_p"},"link":null},{"localized_name":"temperature","name":"temperature","type":"FLOAT","widget":{"name":"temperature"},"link":null},{"localized_name":"prefix_caption","name":"prefix_caption","type":"STRING","widget":{"name":"prefix_caption"},"link":null},{"localized_name":"suffix_caption","name":"suffix_caption","type":"STRING","widget":{"name":"suffix_caption"},"link":null}],"outputs":[{"localized_name":"字符串","name":"STRING","type":"STRING","links":[35]}],"properties":{"cnr_id":"comfyui_slk_joy_caption_two","ver":"0.0.8","Node name for S&R":"Batch_joy_caption_two_advanced"},"widgets_values":["/Users/dxm/Downloads/_XKsub_SweetSub_VCB_Studio__Sonny_Boy__Ma10p_1080p_/","/Users/dxm/Downloads/_XKsub_SweetSub_VCB_Studio__Sonny_Boy__Ma10p_1080p_/result/",false,"",1,"Descriptive","long","","Act as an image caption generator with the following guidelines: - Provide high-quality, non-verbose, coherent, concise, and not superfluous descriptions. - Focus solely on the visual elements of object in the picture; avoid art commentaries, intentions, or aesthetics. - Always reply on the same line, use around 50 words long.  - Do not include any additional information in the response, for example, \"this picture suggests ..; the character seems ...\", \"The scene captures ...\" - Do not use \"we see\" or \"... can be seen in the image\". - You must first introduce the main characters and objects in the picture, as well as their relationships. - If you know the gender, age, and other information of the person in the picture, please express it directly instead of using superlatives. - If there are characters in the picture, the description must reflect their age. - If the image is in the style of anime, color drawing, black and white, line drawing, etc., you must point it out. - Just describe the scene where the image appears, do not add any art criticism, intentions or aesthetics. The following is an illustartive example for you to see how to construct a prompt your prompts should follow this format but always coherent to the subject worldbuilding or setting and consider the elements relationship: 'A young anime-style girl sits on a bed near a window, wearing a red bikini. Her hair is silver-gray, styled into soft waves cascading over her shoulders; she gazes thoughtfully to one side while adjusting her hair gently behind her ear. Natural light floods the room through sheer curtains, casting warm shadows and highlighting her slim form and relaxed posture against the backdrop of lush greenery visible outside. '",false,0.9,0.6,"",""]}],"links":[[34,18,0,20,0,"JoyTwoPipeline"],[35,20,0,21,0,"STRING"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1278510240107738,"offset":[873.4650925479857,-74.01705772988296]},"frontendVersion":"1.19.4","node_versions":{"comfy-core":"v0.3.9"}},"version":0.4}


## Additional Context
(Please add any additional context or steps to reproduce the error here)

Other

No response

@1854039 1854039 added the User Support A user needs help with something, probably not a bug. label May 19, 2025
@TTTTong777
Copy link

我也遇到了这样的问题

@ltdrdata
Copy link
Collaborator

There needs to be a fully connected and executable workflow that leads to a final output node.

The node currently on the far right is not an output node—it can only exist as an intermediate node.

@TTTTong777
7116
Copy link

Image我就是按照官方给出的参照例图来搭建的,这样也还是会出现上述的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Support A user needs help with something, probably not a bug.
Projects
None yet
Development

No branches or pull requests

3 participants
0