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

Permission error Generation TEST!!! is selected for more than one generation test. #134

Open
dillonrcarp opened this issue Feb 2, 2024 · 0 comments

Comments

@dillonrcarp
Copy link

dillonrcarp commented Feb 2, 2024

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'extensions/ebsynth_utility\generation_test_proj\controlnet_input\00001.png'
Time taken: 0.0 sec.

Error encountered when "Generation TEST!!(Ignore Project directory and use the image and mask specified in the main UI)" is selected after one generation. Not able to purge the temp files because they are being used by python.

Traceback (most recent call last):
File "D:\SD\stable-diffusion-webui\modules\call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "D:\SD\stable-diffusion-webui\modules\call_queue.py", line 36, in f
res = func(*args, **kwargs)
File "D:\SD\stable-diffusion-webui\modules\img2img.py", line 236, in img2img
processed = modules.scripts.scripts_img2img.run(p, *args)
File "D:\SD\stable-diffusion-webui\modules\scripts.py", line 700, in run
processed = script.run(p, *script_args)
File "D:\SD\stable-diffusion-webui\extensions\ebsynth_utility\scripts\custom_script.py", line 765, in run
shutil.rmtree(controlnet_input_path)
File "C:\Users\dillo\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 749, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Users\dillo\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 619, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\Users\dillo\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 617, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'extensions/ebsynth_utility\generation_test_proj\controlnet_input\00001.png'

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

1 participant