You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation from A1111 UI error: PermissionError: [WinError 5] Access is denied: 'G:\\stablediffusion\\tmp\\openOutpaint-webUI-extension' -> 'G:\\stablediffusion\\extensions\\openOutpaint-webUI-extension'
Steps to reproduce the problem
Given install path in G:\\stablediffusion\\
Go to the list of available extensions
Install openOutpaint extension
See the error
See G:\\stablediffusion\\tmp\\openOutpaint-webUI-extension is created, and only contains a .git folder
Try install again
See error message saying G:\\stablediffusion\\tmp\\openOutpaint-webUI-extension already exists and is not empty
=> deleting G:\\stablediffusion\\tmp\\openOutpaint-webUI-extension and trying again yields the same result
=> permissions on directories G:\\stablediffusion\\tmp\\openOutpaint-webUI-extension and G:\\stablediffusion\\extensions\\openOutpaint-webUI-extension as open as it gets
=> webui-user.bat started as user and as administrator yields the same result
What should have happened?
Extension should be installed
Commit where the problem happens
unknown, cannot install
What platforms do you use to access openOutpaint?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Browser Extensions/Addons
Fresh install
AUTOMATIC1111 webUI Commandline Arguments
--xformers
Additional information
Console trace
Error completing request
Arguments: ('https://github.com/zero01101/openOutpaint-webUI-extension.git', ['ads', 'localization', 'installed'], 0, 'outpa') {}
Traceback (most recent call last):
File "G:\stablediffusion\modules\call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "G:\stablediffusion\modules\ui_extensions.py", line 179, in install_extension_from_index
ext_table, message = install_extension_from_url(None, url)
File "G:\stablediffusion\modules\ui_extensions.py", line 167, in install_extension_from_url
raise err
File "G:\stablediffusion\modules\ui_extensions.py", line 159, in install_extension_from_url
os.rename(tmpdir, target_dir)
PermissionError: [WinError 5] Access is denied: 'G:\\stablediffusion\\tmp\\openOutpaint-webUI-extension' -> 'G:\\stablediffusion\\extensions\\openOutpaint-webUI-extension'
The text was updated successfully, but these errors were encountered:
terribly sorry for the delay; i honestly don't quite know what to tell you on this one, as it's almost certainly to do with a local permission issue and i haven't been able to reproduce it on windows (nor linux but you're pretty obviously using windows...) - a cursory search suggests it's a python/pip issue... do any other extensions do that?
i have also encounted the same issue on v1.1.0 of A1111 webui on Windows 10, same error logs (but line numbers different).
a workaround i've found is to directly clone it yourself. open git bash (or any terminal with git) in the extensions folder then run git clone --recurse-submodules https://github.com/zero01101/openOutpaint-webUI-extension. do some UI reloads or something to have it show in extensions list and then Apply and Restart UI.
speculation: maybe it's an app using/doing something inside the folder, so Windows denies the folder move?
I've been running into this myself for the last couple of days after buying a new external hard drive and reformatting it to NTFS and trying to install a fresh clone of everything into it.
... do any other extensions do that?
Yes, a few. Off the top of my head specifically, Dreambooth. Edit: Also Controlnet. It would appear that anything that requires the use of the tmp folder while installing ends up being smacked with ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
And while searches do seem to point the finger at python, or pip, or drive permissions in general, I can tell you having spent the past two days nearly nonstop working on this, exhausting all options where as far as setting permissions and using TAKEOWN strings at command lines are concerned ... literally everything the internet says to do dealing with this particular problem, to absolutely no avail. It's like no matter what I do, nothing 'takes', ya know?
Thanks to NutchapolSal for the work around idea though. I'll try that next.
Is ths issue about the extension?
What happened?
Installation from A1111 UI error:
PermissionError: [WinError 5] Access is denied: 'G:\\stablediffusion\\tmp\\openOutpaint-webUI-extension' -> 'G:\\stablediffusion\\extensions\\openOutpaint-webUI-extension'
Steps to reproduce the problem
Given install path in
G:\\stablediffusion\\
G:\\stablediffusion\\tmp\\openOutpaint-webUI-extension
is created, and only contains a.git
folderG:\\stablediffusion\\tmp\\openOutpaint-webUI-extension
already exists and is not empty=> deleting
G:\\stablediffusion\\tmp\\openOutpaint-webUI-extension
and trying again yields the same result=> permissions on directories
G:\\stablediffusion\\tmp\\openOutpaint-webUI-extension
andG:\\stablediffusion\\extensions\\openOutpaint-webUI-extension
as open as it gets=>
webui-user.bat
started as user and as administrator yields the same resultWhat should have happened?
Extension should be installed
Commit where the problem happens
unknown, cannot install
What platforms do you use to access openOutpaint?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Browser Extensions/Addons
Fresh install
AUTOMATIC1111 webUI Commandline Arguments
--xformers
Additional information
Console trace
The text was updated successfully, but these errors were encountered: