Cannot clone this repo on Windows

#1
by marialaflaka - opened

I think the issue is that when the hugging face API tries to create this particular folder "SD15(AD|LCM)", the "pipe" character "|" is not allowed on Windows... So, the program crashes and downloads nothing. And I'm not able to filter the folder when downloading the repo and it always gives me a "system file" error. Could you change the name to see if that solves the problem?
Tnx!

Alright, that should fix it. Also added the model info for those 3 as it was missing.

Alright, that should fix it. Also added the model info for those 3 as it was missing.

Hey! Thank you very much!
But for some reason, I keep getting the same error while trying to clone the repo using Windows :(
I haven't tried on Linux... I have all my setup on a Windows machine :P

The huggingface API just creates the "FluxD" folder (empty) and I thought that when trying to create the next folder, the "pipe" character "|" on Windows was the issue... But now that you renamed it, it still crashes and doesn't create that folder and exits with this error...

Fetching 858 files: 0%|▏ | 1/858 [00:00<02:48, 5.08it/s]
An exception of type FileNotFoundError occurred: (2, 'The system cannot find the path specified')

Now I don't know if there is still a file system conflict between Linux/Windows or what can be the issue... Maybe the error is in the hugging face API?
I already deleted the local folder completely and tried to clone the repo again without success, always the same error apparently in that particular folder...
Even the "ignore" parameter doesn't help using the folder name. It was useful in another repo where someone named some files with " * " on them.
They were just ".mp4" examples that I filtered using the "*.mp4" ignore parameter.
The error was also "An exception of type FileNotFoundError occurred: (2, 'The system cannot find the path specified')" caused by the invalid character.

Thanks anyway!

Hey! Thank you very much!
But for some reason, I keep getting the same error while trying to clone the repo using Windows :(
I haven't tried on Linux... I have all my setup on a Windows machine :P

The huggingface API just creates the "FluxD" folder (empty) and I thought that when trying to create the next folder, the "pipe" character "|" on Windows was the issue... But now that you renamed it, it still crashes and doesn't create that folder and exits with this error...

Fetching 858 files: 0%|▏ | 1/858 [00:00<02:48, 5.08it/s]
An exception of type FileNotFoundError occurred: (2, 'The system cannot find the path specified')

Now I don't know if there is still a file system conflict between Linux/Windows or what can be the issue... Maybe the error is in the hugging face API?
I already deleted the local folder completely and tried to clone the repo again without success, always the same error apparently in that particular folder...
Even the "ignore" parameter doesn't help using the folder name. It was useful in another repo where someone named some files with " * " on them.
They were just ".mp4" examples that I filtered using the "*.mp4" ignore parameter.
The error was also "An exception of type FileNotFoundError occurred: (2, 'The system cannot find the path specified')" caused by the invalid character.

Thanks anyway!

sorry for the late reply, I will test it out myself and send over the code that works. I should be able to get to it today, it will be a bit late though.

Hey! Thank you very much!
But for some reason, I keep getting the same error while trying to clone the repo using Windows :(
I haven't tried on Linux... I have all my setup on a Windows machine :P

The huggingface API just creates the "FluxD" folder (empty) and I thought that when trying to create the next folder, the "pipe" character "|" on Windows was the issue... But now that you renamed it, it still crashes and doesn't create that folder and exits with this error...

Fetching 858 files: 0%|▏ | 1/858 [00:00<02:48, 5.08it/s]
An exception of type FileNotFoundError occurred: (2, 'The system cannot find the path specified')

Now I don't know if there is still a file system conflict between Linux/Windows or what can be the issue... Maybe the error is in the hugging face API?
I already deleted the local folder completely and tried to clone the repo again without success, always the same error apparently in that particular folder...
Even the "ignore" parameter doesn't help using the folder name. It was useful in another repo where someone named some files with " * " on them.
They were just ".mp4" examples that I filtered using the "*.mp4" ignore parameter.
The error was also "An exception of type FileNotFoundError occurred: (2, 'The system cannot find the path specified')" caused by the invalid character.

Thanks anyway!

Found what I think were the two issues: There was a lot of older files with poorly written names that windows didnt like, also found an extra space in the huggingface folders which caused the first issue stopping it from downloading anything.

Alright, longer than I thought to get around to fixing this been working on other parts of this project, I only ran the test but should work when downloading the full repo or select folders. Never used this sharing bin before but seemed the most simple way to share for now.
https://smalldev.tools/share-bin/ZvBtJ4bh
Download all is FALSE by default just to test if it works, Top configuration needs changed.

Hopefully it works for you and not too late -- IF not heres gpt to edit it to work: https://chatgpt.com/share/686c7ba1-dce8-8011-b2cd-713e2dfdea3d. if gpt cant do it try grok or Gemini 2.5 pro.

Sign up or log in to comment