I've noticed for quite some time that the update and install options in "Extensions" tab didn't work. If you tried to check for updates, or create a list of available extensions, it just reported an error about it being a startup option blocking it. I tracked it to the "--listen" option that causes it.
If I remove the "--listen" option from the startup ARGS, and restart, there is no error and functionality is restored.
A list of update status should be refreshed without needing to remove the "--listen" arg each time I want to use the extensions tab.
Traceback (most recent call last):
File "F:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 337, in run_predict
output = await app.get_blocks().process_api(
File "F:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1015, in process_api
result = await self.call_function(
File "F:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 833, in call_function
prediction = await anyio.to_thread.run_sync(
File "F:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "F:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "F:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
File "F:\stable-diffusion-webui\modules\ui_extensions.py", line 26, in apply_and_restart
check_access()
File "F:\stable-diffusion-webui\modules\ui_extensions.py", line 22, in check_access
assert not shared.cmd_opts.disable_extension_access, "extension access disabled because of command line flags"
AssertionError: extension access disabled because of command line flags
Traceback (most recent call last):
File "F:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 337, in run_predict
output = await app.get_blocks().process_api(
File "F:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1015, in process_api
result = await self.call_function(
File "F:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 833, in call_function
prediction = await anyio.to_thread.run_sync(
File "F:\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "F:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "F:\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
File "F:\stable-diffusion-webui\modules\ui_extensions.py", line 54, in check_updates
check_access()
File "F:\stable-diffusion-webui\modules\ui_extensions.py", line 22, in check_access
assert not shared.cmd_opts.disable_extension_access, "extension access disabled because of command line flags"
AssertionError: extension access disabled because of command line flags
Is there an existing issue for this?
What happened?
I've noticed for quite some time that the update and install options in "Extensions" tab didn't work. If you tried to check for updates, or create a list of available extensions, it just reported an error about it being a startup option blocking it. I tracked it to the "--listen" option that causes it.
Steps to reproduce the problem
If I remove the "--listen" option from the startup ARGS, and restart, there is no error and functionality is restored.
What should have happened?
A list of update status should be refreshed without needing to remove the "--listen" arg each time I want to use the extensions tab.
Commit where the problem happens
602a186
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
Additional information, context and logs