mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[GH-ISSUE #1257] [Bug]: issues with using qwen image node on comfy Desktop #355
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#355
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @manassm on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1257
App Version
Expected Behavior
The Text Encode Qwen Image Edit node in Comfy Desktop should load and work normally without showing errors (not highlighted in red).
Actual Behavior
When I add the Text Encode Qwen Image Edit node, it appears highlighted in red and does not function. Other nodes work as expected. I’m using Comfy Desktop with ComfyUI version v0.3.50 (according to settings), so it should be up to date.
Steps to Reproduce
Open Comfy Desktop (ComfyUI v0.3.50).
Add a Text Encode Qwen Image Edit node to the workflow.
Observe that the node is highlighted in red and fails to work.
Debug Logs
Browser Logs
user.css:1
api.ts:260 Running on 127.0.0.1:8001
App.vue:45 ComfyUI Front-end version: 1.23.4
extensionStore.ts:68 Extension pysssss.SnapToGrid is disabled.
extensionStore.ts:68 Extension KJNodes.browserstatus is disabled.
extensionStore.ts:68 Extension pysssss.FaviconStatus is disabled.
lora_sidebar.js:10 Settings onChange called with: Object
mtb_input_output_sidebar.js:251 1.23.4
2nodeDefStore.ts:87 Use of defaultInput on required input custom_nodes.ComfyUI-Impact-Pack:ImpactSchedulerAdapter:scheduler is deprecated. Please drop the defaultInput option.
#migrateDefaultInput @ nodeDefStore.ts:87
lora_sidebar.js:5041 [LoRA Sidebar] Extension setup starting
lora_sidebar.js:5045 [LoRA Sidebar] Stores ready
lora_sidebar.js:10 After loading CUSTOM_TAGS: Array(6)
lora_sidebar.js:10 Tag source: CivitAI
lora_sidebar.js:5051 [LoRA Sidebar] Creating SmartInfo instance
:8001/api/userdata/comfy.templates.json:1
components-manager.js:770 Empty components: policy ignored
:8001/api/view?type=input&filename=Qwen-Image_00043_.png&subfolder=&rand=0.9823826177173252:1
:8001/api/view?type=input&filename=Qwen-Image_00043_.png&subfolder=&rand=0.9823826177173252:1
:8001/api/view?type=input&filename=Qwen-Image_00043_.png&subfolder=&rand=0.45978469665076505:1
:8001/api/view?type=input&filename=Qwen-Image_00043_.png&subfolder=&rand=0.45978469665076505:1
mtb_input_output_sidebar.js:208 Sidebar count 1000
user.css:1
api.ts:294
fetchApi @ api.ts:294
queuePrompt @ api.ts:591
queuePrompt_with_seed @ extensions-BcuvUBBY.js:1
PromptService.api.queuePrompt @ prompt_service.js:88
api.queuePrompt @ rgthree.js:505
queuePrompt @ app.ts:1218
await in queuePrompt (async)
app.queuePrompt @ rgthree.js:465
function @ useCoreCommands.ts:320
(anonymous) @ useErrorHandling.ts:38
execute @ commandStore.ts:96
wrappedAction @ pinia.mjs:1405
queuePrompt @ ComfyQueueButton.vue:142
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
emit @ runtime-core.esm-bundler.js:6386
onDefaultButtonClick @ index.mjs:157
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
invoker @ runtime-dom.esm-bundler.js:729
Show 8 more frames
Show less
app.ts:1241 Error: Prompt execution failed
at ComfyApi.queuePrompt (api.ts:600:13)
at async ComfyApi.queuePrompt_with_seed (extensions-BcuvUBBY.js:1:185216)
at async PromptService.api.queuePrompt (prompt_service.js:88:28)
at async ComfyApp.queuePrompt (app.ts:1218:25)
at async app.queuePrompt (rgthree.js:465:24)
at async function (useCoreCommands.ts:320:15)
at async useErrorHandling.ts:38:16
at async Proxy.execute (commandStore.ts:96:7)
at async queuePrompt (ComfyQueueButton.vue:142:9)
queuePrompt @ app.ts:1241
await in queuePrompt (async)
app.queuePrompt @ rgthree.js:465
function @ useCoreCommands.ts:320
(anonymous) @ useErrorHandling.ts:38
execute @ commandStore.ts:96
wrappedAction @ pinia.mjs:1405
queuePrompt @ ComfyQueueButton.vue:142
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
emit @ runtime-core.esm-bundler.js:6386
onDefaultButtonClick @ index.mjs:157
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
invoker @ runtime-dom.esm-bundler.js:729
Show 8 more frames
Show less
shared_utils.js:11 Uncaught (in promise) undefined
resolver.reject @ shared_utils.js:11
(anonymous) @ shared_utils.js:21
setTimeout (async)
getResolver @ shared_utils.js:19
PromptExecution @ prompt_service.js:10
getOrMakePrompt @ prompt_service.js:182
PromptService.api.queuePrompt @ prompt_service.js:91
await in PromptService.api.queuePrompt (async)
api.queuePrompt @ rgthree.js:505
queuePrompt @ app.ts:1218
await in queuePrompt (async)
app.queuePrompt @ rgthree.js:465
function @ useCoreCommands.ts:320
(anonymous) @ useErrorHandling.ts:38
execute @ commandStore.ts:96
wrappedAction @ pinia.mjs:1405
queuePrompt @ ComfyQueueButton.vue:142
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
emit @ runtime-core.esm-bundler.js:6386
onDefaultButtonClick @ index.mjs:157
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
invoker @ runtime-dom.esm-bundler.js:729
Show 8 more frames
Show less
api.ts:294
fetchApi @ api.ts:294
queuePrompt @ api.ts:591
queuePrompt_with_seed @ extensions-BcuvUBBY.js:1
PromptService.api.queuePrompt @ prompt_service.js:88
api.queuePrompt @ rgthree.js:505
queuePrompt @ app.ts:1218
await in queuePrompt (async)
app.queuePrompt @ rgthree.js:465
function @ useCoreCommands.ts:320
(anonymous) @ useErrorHandling.ts:38
execute @ commandStore.ts:96
wrappedAction @ pinia.mjs:1405
queuePrompt @ ComfyQueueButton.vue:142
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
emit @ runtime-core.esm-bundler.js:6386
onDefaultButtonClick @ index.mjs:157
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
invoker @ runtime-dom.esm-bundler.js:729
Show 8 more frames
Show less
app.ts:1241 Error: Prompt execution failed
at ComfyApi.queuePrompt (api.ts:600:13)
at async ComfyApi.queuePrompt_with_seed (extensions-BcuvUBBY.js:1:185216)
at async PromptService.api.queuePrompt (prompt_service.js:88:28)
at async ComfyApp.queuePrompt (app.ts:1218:25)
at async app.queuePrompt (rgthree.js:465:24)
at async function (useCoreCommands.ts:320:15)
at async useErrorHandling.ts:38:16
at async Proxy.execute (commandStore.ts:96:7)
at async queuePrompt (ComfyQueueButton.vue:142:9)
queuePrompt @ app.ts:1241
await in queuePrompt (async)
app.queuePrompt @ rgthree.js:465
function @ useCoreCommands.ts:320
(anonymous) @ useErrorHandling.ts:38
execute @ commandStore.ts:96
wrappedAction @ pinia.mjs:1405
queuePrompt @ ComfyQueueButton.vue:142
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
emit @ runtime-core.esm-bundler.js:6386
onDefaultButtonClick @ index.mjs:157
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
invoker @ runtime-dom.esm-bundler.js:729
Show 8 more frames
Show less
api.ts:294
fetchApi @ api.ts:294
queuePrompt @ api.ts:591
queuePrompt_with_seed @ extensions-BcuvUBBY.js:1
PromptService.api.queuePrompt @ prompt_service.js:88
api.queuePrompt @ rgthree.js:505
queuePrompt @ app.ts:1218
await in queuePrompt (async)
app.queuePrompt @ rgthree.js:465
function @ useCoreCommands.ts:320
(anonymous) @ useErrorHandling.ts:38
execute @ commandStore.ts:96
wrappedAction @ pinia.mjs:1405
queuePrompt @ ComfyQueueButton.vue:142
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
emit @ runtime-core.esm-bundler.js:6386
onDefaultButtonClick @ index.mjs:157
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
invoker @ runtime-dom.esm-bundler.js:729
Show 8 more frames
Show less
app.ts:1241 Error: Prompt execution failed
at ComfyApi.queuePrompt (api.ts:600:13)
at async ComfyApi.queuePrompt_with_seed (extensions-BcuvUBBY.js:1:185216)
at async PromptService.api.queuePrompt (prompt_service.js:88:28)
at async ComfyApp.queuePrompt (app.ts:1218:25)
at async app.queuePrompt (rgthree.js:465:24)
at async function (useCoreCommands.ts:320:15)
at async useErrorHandling.ts:38:16
at async Proxy.execute (commandStore.ts:96:7)
at async queuePrompt (ComfyQueueButton.vue:142:9)
queuePrompt @ app.ts:1241
await in queuePrompt (async)
app.queuePrompt @ rgthree.js:465
function @ useCoreCommands.ts:320
(anonymous) @ useErrorHandling.ts:38
execute @ commandStore.ts:96
wrappedAction @ pinia.mjs:1405
queuePrompt @ ComfyQueueButton.vue:142
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
emit @ runtime-core.esm-bundler.js:6386
onDefaultButtonClick @ index.mjs:157
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
invoker @ runtime-dom.esm-bundler.js:729
Show 8 more frames
Show less
Settings JSON
image_qwen_image_edit.json
Other
No response
┆Issue is synchronized with this Notion page by Unito
@dosubot[bot] commented on GitHub (Aug 19, 2025):
Hi @manassm! I'm Dosu and I’m helping the desktop team.
The error with the Qwen Image node ("missing the class_type property" and highlighted in red) means ComfyUI failed to load or register the node correctly. This usually happens if the custom node's Python module doesn't export NODE_CLASS_MAPPINGS properly, if there was an import error, or if required dependencies are missing or incompatible. In ComfyUI, nodes must be registered with NODE_CLASS_MAPPINGS for the backend to recognize them, and any failure here will cause the node to break in the UI docs.comfy.org.
Common causes include: using an outdated ComfyUI version (the modal suggests this), missing or broken dependencies, or a bug in the custom node code. The desktop app itself only surfaces backend errors—it doesn't fix or validate node internals docs.comfy.org.
Recommended steps: update ComfyUI to the latest Development (Nightly) version (not just Desktop), update all custom nodes, and manually install dependencies for the Qwen node by running
pip install -r requirements.txtin its folder if needed docs.comfy.org. If the issue persists, try disabling custom nodes, resetting the virtual environment, or doing a clean reinstall github.com/Comfy-Org/desktop/issues/1216.If you see 404 errors for Qwen-Image PNGs, that means the workflow is referencing files that aren't present—make sure all required assets are in the correct input folder.
Let me know if you need more details on any of these steps.
To reply, just mention @dosu.
Docs are dead. Just use Dosu.
@webfiltered commented on GitHub (Aug 19, 2025):
The workflow you're trying to use requires some custom nodes are installed. There's a button on the first error message to open manager and install them.
I'd recommend trying the help channel in Discord for general support; you may experience long delays between replies on GitHub issues.
@manassm commented on GitHub (Aug 19, 2025):
@quentar82 commented on GitHub (Aug 20, 2025):
facing the same error, the button leads to the manager but there is no missing node available
@manassm commented on GitHub (Aug 20, 2025):
Seems to work now after updating comfy desktop. Thank you.