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

[CivitAI] The system cannot find the path specified. everytime startup #19

Open
tampadesignr opened this issue Feb 8, 2025 · 13 comments

Comments

@tampadesignr
Copy link

tampadesignr commented Feb 8, 2025

The system cannot find the path specified.
Successfully created link from G:\comfy\jan4\alpha\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\pony to input\pony
The system cannot find the path specified.
Successfully created link from G:\comfy\jan4\alpha\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\flux.1_d to input\flux.1_d
The system cannot find the path specified.
Successfully created link from G:\comfy\jan4\alpha\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\flux.1_s to input\flux.1_s
The system cannot find the path specified.
Successfully created link from G:\comfy\jan4\alpha\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\lora_sdxl_1.0 to input\lora_sdxl_1.0
The system cannot find the path specified.
Successfully created link from G:\comfy\jan4\alpha\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\lora_sd_1.5 to input\lora_sd_1.5
The system cannot find the path specified.
Successfully created link from G:\comfy\jan4\alpha\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\lora_pony to input\lora_pony
The system cannot find the path specified.
Successfully created link from G:\comfy\jan4\alpha\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\lora_flux.1_d to input\lora_flux.1_d

can this not be trigger until node is used?
i dont need more folders
can option to select location during node setup
then if no folder exists for given choice it creates user choice
make this an optional/ different node

just some ideas...lol
but yea it does this everytime
tried copying folders to different places based on the civit script but no luck
using extra model path

@tampadesignr tampadesignr changed the title The system cannot find the path specified. everythime startup The system cannot find the path specified. everytime startup Feb 8, 2025
@justUmen
Copy link
Owner

justUmen commented Feb 8, 2025

Hi thx for the message.

I didn't test my nodes on windows. I made some windows code, but didn't try it. I'm never on windows.

For now CivitAI stuff is a bit of a hack from Load Image.
This is what gives you search, list and the image. (But apparently these images have to be in the "input" folder, otherwise it won't work.) That's why I have to create a link.

  • can this not be trigger until node is used?
    This could be possible yeah, not sure about the impact of that yet, maybe nodes won't be initialized properly, my CivitAI code is ~1800 lines, it certainly need some rework but....

I'll take a look at that.

But are you saying that on windows CivitAi links aren't created in input folder ?
Does it really bother you having links in the input folder ? (I never open that folder manually, so i didn't think more of that.)

@tampadesignr
Copy link
Author

tampadesignr commented Feb 8, 2025

lol... just thinking about other on those.. thinking in the k.i.s.s method no worries on those

but the issue with the folder every time i startup that one is front and center

normally when a node expects something somewhere and doesnt find it i add and issue go away... \

but this one got me boggled...lol

it says success every-time.. i start up... ignored it till i had time to look into it..
tried a bunch of things but no dice

i have a basic understanding of code and i know from looking at the code it suppose to copy folder from node
to a location but its not
what is it expecting to see in checkpoints?
what the folder structure it thinks its creating?
i dont see any code that would check for extra models path yaml file however dont think that the issue but i know it eventually is for those of us using that setup

@justUmen justUmen changed the title The system cannot find the path specified. everytime startup [CivitAI] The system cannot find the path specified. everytime startup Feb 9, 2025
@1MB4R0SS4
Copy link

same issue for me, question is how to solve it :D

@justUmen
Copy link
Owner

@1MB4R0SS4 Hi !!!!
I would love if you could answer this question :

But are you saying that on windows CivitAi links aren't created in input folder ?

@justUmen
Copy link
Owner

justUmen commented Feb 14, 2025

@1MB4R0SS4 Thx, but that's not it.
My folder contains the images, i know that. :)

I want to know if the link is created or not, inside your input folder. (ComfyUI/input) You should see a bunch of folder/links there. Do you have them ? sd1.5, sdxl_1.0, etc...

@justUmen
Copy link
Owner

Thx, I'll fix that soon.

@tampadesignr
Copy link
Author

tampadesignr commented Feb 19, 2025

latest update still has issue but different

The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
CIVITAI_API_TOKEN already exists in the environment.

technically same issue
now it says this each time

@justUmen
Copy link
Owner

Thx for the update.

But I didn't try to fix this issue, just the side effect of something else.
It's 6am here and I should fix this today, I will rewrite a few stuff in civitAI nodes based on your experience and advice.
I will let you know.
Thx again.

@justUmen
Copy link
Owner

Hi again,
Does 0.74 solves your issues ?

@justUmen
Copy link
Owner

I think I was able to reproduce your issue. 0.75 solved it ?

@1MB4R0SS4
Copy link

I think I was able to reproduce your issue. 0.75 solved it ?

I updated it, this is what the error looks now:

❌ Failed to create symlink for sdxl_1.0: Command '['powershell', 'New-Item', '-ItemType', 'Junction', '-Path', 'ComfyUI\input\sdxl_1.0', '-Value', 'D:\Downloads\Programs\AI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\sdxl_1.0']' returned non-zero exit status 1.
❌ Failed to create symlink for sd_1.5: Command '['powershell', 'New-Item', '-ItemType', 'Junction', '-Path', 'ComfyUI\input\sd_1.5', '-Value', 'D:\Downloads\Programs\AI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\sd_1.5']' returned non-zero exit status 1.
❌ Failed to create symlink for pony: Command '['powershell', 'New-Item', '-ItemType', 'Junction', '-Path', 'ComfyUI\input\pony', '-Value', 'D:\Downloads\Programs\AI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\pony']' returned non-zero exit status 1.
❌ Failed to create symlink for flux.1_d: Command '['powershell', 'New-Item', '-ItemType', 'Junction', '-Path', 'ComfyUI\input\flux.1_d', '-Value', 'D:\Downloads\Programs\AI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\flux.1_d']' returned non-zero exit status 1.
❌ Failed to create symlink for flux.1_s: Command '['powershell', 'New-Item', '-ItemType', 'Junction', '-Path', 'ComfyUI\input\flux.1_s', '-Value', 'D:\Downloads\Programs\AI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\flux.1_s']' returned non-zero exit status 1.
❌ Failed to create symlink for lora_sdxl_1.0: Command '['powershell', 'New-Item', '-ItemType', 'Junction', '-Path', 'ComfyUI\input\lora_sdxl_1.0', '-Value', 'D:\Downloads\Programs\AI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\lora_sdxl_1.0']' returned non-zero exit status 1.
❌ Failed to create symlink for lora_sd_1.5: Command '['powershell', 'New-Item', '-ItemType', 'Junction', '-Path', 'ComfyUI\input\lora_sd_1.5', '-Value', 'D:\Downloads\Programs\AI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\lora_sd_1.5']' returned non-zero exit status 1.
❌ Failed to create symlink for lora_pony: Command '['powershell', 'New-Item', '-ItemType', 'Junction', '-Path', 'ComfyUI\input\lora_pony', '-Value', 'D:\Downloads\Programs\AI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\lora_pony']' returned non-zero exit status 1.
❌ Failed to create symlink for lora_flux.1_d: Command '['powershell', 'New-Item', '-ItemType', 'Junction', '-Path', 'ComfyUI\input\lora_flux.1_d', '-Value', 'D:\Downloads\Programs\AI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\lora_flux.1_d']' returned non-zero exit status 1.
❌ Failed to create symlink for lora_hunyuan_video: Command '['powershell', 'New-Item', '-ItemType', 'Junction', '-Path', 'ComfyUI\input\lora_hunyuan_video', '-Value', 'D:\Downloads\Programs\AI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\Bjornulf_custom_nodes\civitai\lora_hunyuan_video']' returned non-zero exit status 1.

@justUmen
Copy link
Owner

I'm not a windows guy.... I don't get it.
I just tried on windows 11 and cmd requires admin priv, but powershell code worked fine on my machine.
On your computer, even powershell code fails ?
What do you use ? :(

@tampadesignr
Copy link
Author

tampadesignr commented Feb 21, 2025

dunno know if this helps
PowerShell/PowerShell#18251
my search that turned up the results
https://www.google.com/search?client=firefox-b-1-d&q=%5B%27powershell%27%2C+%27New-Item%27%2C+%27-ItemType%27%2C+%27Junction%27%2C+%27-Path%27%2C

adding a trigger to node would be great like the some nodes that download stuff if it isnt in the specified folder and people use huggingface for the storage of those files...

so if i never use a node it doesnt add files i am not using

comfyanonymous/ComfyUI#2849

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

3 participants