-
-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bug]: FileNotFoundError: [Errno 2] No such file or directory: 'T:\systemp\sd_temp_files\tmpe4svot1d' #86
Comments
See #92. Work is in progress, in the meantime closing this as duplicate. |
Allright, thanks for this info! |
Just again had this issue ... 😔 100%|██████████████████████████████████████████████████████████████████████████████████| 30/30 [00:03<00:00, 9.20it/s] 14:43:45-814677 INFO Version: dcd6d5b Tue Apr 25 08:04:43 2023 -0400 |
did you restart server after changing temp_dir?
|
I didn't changed the temp dir. it's always T:\systemp\sd-temp-files\ in the settings.
At what time does this occur/is this checked? Because ... obviously when needed, it does not create anything ... 😔 |
check/create-if-missing happens as soon as launcher is complete and it starts webui. |
So, if a script/extension needs the temp folder and the folder was flushed previously, it will not be re-created ... ? |
it will be recreated during startup. how can a folder be flushed during runtime? if you delete it manually, then yes, thats a problem. |
As I said a while ago, this is the system temp folder. And since using SD, it also came to be a bit of a working folder for me (i.e., saving pose pictures when I'm creating poses, so they will be deleted again and don't stay in a folder where I maybe forget them). So, occasionally the temp folder will be deleted and with it the sd-temp-files folder.
Well, maybe I'm wrong, but shouldn't the main program take care of such things? To watch if every folder is accessible during runtime? And while we are at it again: those empty temp folder that being created ... do you already know from where they come and why they are not created in the system set temp folder? |
ideally, yes, you're right. but if someone takes away a floor you're standing on, it takes a lot of exception handling not to fall. i'd have to trace down every instance where temp folder may be referenced to and wrap it. should had it be done correctly from the start? yes. but while i'm fixing old code, this is pretty low on priority list. re: temp files outside of it, i'll check. |
Is there an existing issue for this?
What happened?
Unfortunately, this bug still exists in this fork.
A defined temp folder in the WebUI settings will not be created if it's not existent and causes errors (even up to crashes) for some actions and extensions that rely on this folder.
Please fix this ASAP, because it's really annoying for almost half a year now.
Steps to reproduce the problem
What should have happened?
The temp folder specified in the settings should be created if not existent.
Commit where the problem happens
AUTOMATIC1111/stable-diffusion-webui@ffc54d0
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of extensions
Console logs
FileNotFoundError: [Errno 2] No such file or directory: 'T:\systemp\sd_temp_files\tmpe4svot1d'
Additional information
No response
The text was updated successfully, but these errors were encountered: