Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Error executing callback ui_tabs_callback #42

Open
eastone11 opened this issue Aug 30, 2023 · 2 comments
Open

Error executing callback ui_tabs_callback #42

eastone11 opened this issue Aug 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@eastone11
Copy link

I used the add-on for 2 months, today the controlnet was updated from 312 to 313 versions and the reactor and an error appeared, access to the tmp folder was and is.

*** Error executing callback ui_tabs_callback for G:\stable-diffusion\extensions\sd-webui-depth-lib\scripts\main.py
Traceback (most recent call last):
File "G:\stable-diffusion\modules\script_callbacks.py", line 153, in ui_tabs_callback
res += c.callback() or []
File "G:\stable-diffusion\extensions\sd-webui-depth-lib\scripts\main.py", line 47, in on_ui_tabs
dataset = gr.Examples(examples=os.path.join(maps_path, t), inputs=[png_input_area],examples_per_page=24,label="Depth Maps", elem_id="examples")
File "g:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 54, in create_examples
examples_obj = Examples(
File "g:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 201, in init
self.processed_examples = [
File "g:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 202, in
[
File "g:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 203, in
component.postprocess(sample)
File "g:\stable-diffusion\venv\lib\site-packages\gradio\components.py", line 1866, in postprocess
return client_utils.encode_url_or_file_to_base64(y)
File "g:\stable-diffusion\venv\lib\site-packages\gradio_client\utils.py", line 361, in encode_url_or_file_to_base64
return encode_file_to_base64(path)
File "g:\stable-diffusion\venv\lib\site-packages\gradio_client\utils.py", line 335, in encode_file_to_base64
with open(f, "rb") as file:
PermissionError: [Errno 13] Permission denied: 'tmp'

@eastone11 eastone11 added the bug Something isn't working label Aug 30, 2023
@wywywywy
Copy link
Contributor

wywywywy commented Sep 7, 2023

Try my fork it might work for you. https://github.com/wywywywy/sd-webui-depth-lib

@mikheys
Copy link

mikheys commented Sep 19, 2023

I used the add-on for 2 months, today the controlnet was updated from 312 to 313 versions and the reactor and an error appeared, access to the tmp folder was and is.

*** Error executing callback ui_tabs_callback for G:\stable-diffusion\extensions\sd-webui-depth-lib\scripts\main.py Traceback (most recent call last): File "G:\stable-diffusion\modules\script_callbacks.py", line 153, in ui_tabs_callback res += c.callback() or [] File "G:\stable-diffusion\extensions\sd-webui-depth-lib\scripts\main.py", line 47, in on_ui_tabs dataset = gr.Examples(examples=os.path.join(maps_path, t), inputs=[png_input_area],examples_per_page=24,label="Depth Maps", elem_id="examples") File "g:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 54, in create_examples examples_obj = Examples( File "g:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 201, in init self.processed_examples = [ File "g:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 202, in [ File "g:\stable-diffusion\venv\lib\site-packages\gradio\helpers.py", line 203, in component.postprocess(sample) File "g:\stable-diffusion\venv\lib\site-packages\gradio\components.py", line 1866, in postprocess return client_utils.encode_url_or_file_to_base64(y) File "g:\stable-diffusion\venv\lib\site-packages\gradio_client\utils.py", line 361, in encode_url_or_file_to_base64 return encode_file_to_base64(path) File "g:\stable-diffusion\venv\lib\site-packages\gradio_client\utils.py", line 335, in encode_file_to_base64 with open(f, "rb") as file: PermissionError: [Errno 13] Permission denied: 'tmp'

I have the same error in both the original extension and the fork. Have you solved this error?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants