Inzaniak / sd-webui-ranbooru

71 stars 7 forks source link

Error #18

Closed Indras91 closed 10 months ago

Indras91 commented 1 year ago

The error message is like this: Error calling: /home/studio-lab-user/content/stable-diffusion-webui/extensions/ranbooru/scripts/ranbooru.py/ui Traceback (most recent call last): File "/home/studio-lab-user/content/stable-diffusion-webui/modules/scripts.py", line 270, in wrap_call res = func(*args, **kwargs) File "/home/studio-lab-user/content/stable-diffusion-webui/extensions/ranbooru/scripts/ranbooru.py", line 268, in ui mature_rating = gr.Radio(RATINGS['gelbooru'].keys(), label="Mature Rating", value="All") File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/gradio/components.py", line 1140, in init self.test_input = self.choices[0] if len(self.choices) else None TypeError: 'dict_keys' object is not subscriptable

Error calling: /home/studio-lab-user/content/stable-diffusion-webui/extensions/ranbooru/scripts/ranbooru.py/ui Traceback (most recent call last): File "/home/studio-lab-user/content/stable-diffusion-webui/modules/scripts.py", line 270, in wrap_call res = func(*args, **kwargs) File "/home/studio-lab-user/content/stable-diffusion-webui/extensions/ranbooru/scripts/ranbooru.py", line 268, in ui mature_rating = gr.Radio(RATINGS['gelbooru'].keys(), label="Mature Rating", value="All") File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/gradio/components.py", line 1140, in init self.test_input = self.choices[0] if len(self.choices) else None TypeError: 'dict_keys' object is not subscriptable

SmashinFries commented 1 year ago

What were your ranbooru settings? I'm having trouble replicating your error.

Indras91 commented 1 year ago

What were your ranbooru settings? I'm having trouble replicating your error.

The error appear suddenly after i installed the extension, not change anything

Inzaniak commented 11 months ago

Can you share the version of your Automatic1111 UI and the list of your installed extensions?

Inzaniak commented 10 months ago

Closed for inactivity