If a file with the same name already exists in another directory, the file won't be saved. What's worse, it appears on the screen as if it had been saved.
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start by tracing how ComfyUI identifies and saves workflows when Ctrl+S is pressed, then check whether the save path distinguishes files with the same name in different directories. Reproduce the steps with two folders containing wf_abc.json and verify whether each workflow saves independently. The issue does not name the relevant files or tests, so first locate the save handler and its existing coverage.
Written by the indexing model from the issue text.
Description
Custom Node Testing
- I have tried disabling custom nodes and the issue persists (see how to disable custom nodes if you need help)
Expected Behavior
Press Ctrl+S to save and overwrite.
Actual Behavior
If a file with the same name exists in another directory, it will not be saved. To make matters worse, it appears on the screen as if it has been saved.
Example:
Workflow
└ folder-a
└ wf_abc.json
└ folder-b
└ wf_abc.json
wf_abc.json will not be saved in either directory.
Steps to Reproduce
-
Create a sample workflow file in ComfyUI and save it. For this example, let’s name the file wf_abc.json.
-
Place it in the following location using Windows Explorer:
workflow
└ folder-a
└ wf_abc.json
└ folder-b
└ wf_abc.json -
In ComfyUI, open
wf_abc.jsoninfolder-a, make some changes to the workflow, and save it by pressing Ctrl+S. -
Next, in ComfyUI, open
wf_abc.jsoninfolder-b, make some changes to the workflow, and save it by pressing Ctrl+S. -
When you open
wf_abc.json, you’ll find that only one of the two versions has been saved.
Debug Logs
none
Other
(The post I made a few days ago titled “Unable to Overwrite Files with Japanese 2-Byte Characters” was incorrect. I’m sorry. It seems the cause was actually this.)
- Dominant language
- Python
- Stars
- 150k
- Forks
- 17.9k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 181
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Comfy-Org/ComfyUI
-
UnboundLocalError on a dangling symlink in custom_nodesPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Feature
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
ModelMergeSimple and all merge nodes are O(N²)Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Comfy-Org/ComfyUI#17823 · 1 reaction ·
Maintainers usually reply within 1 day
-
[Ascend NPU] Trellis2 shape stage aborts: aten::max.dim has no INT32 kernel (EZ1001)Possibly taken @harmehak0173 claimed this 13 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
All issues in Comfy-Org/ComfyUI
Similar issues
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPossibly taken A pull request linked to this issue is open or already merged. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 · 3 comments ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPossibly taken @AshutoshSingh840 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainers usually reply within 1 day