[GH-ISSUE #15] An error occurred: No template found with name #8

Open
opened 2026-10-30 21:03:07 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @nlienard on GitHub (Sep 1, 2023).
Original GitHub issue: https://github.com/ahgsql/StyleSelectorXL/issues/15

A1111 1.6

Whenever i use the style editor i got this error

An error occurred: No template found with name '['Cinematic', 'Cinematic']'.
An error occurred: No template found with name '['Cinematic', 'Cinematic']'.
*** Error running process: C:\Users\nico\IA\stable-diffusion-webui\extensions\sd-dynamic-prompts\scripts\dynamic_prompting.py
    Traceback (most recent call last):
      File "C:\Users\nico\IA\stable-diffusion-webui\modules\scripts.py", line 619, in process
        script.process(p, *script_args)
      File "C:\Users\nico\IA\stable-diffusion-webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\dynamic_prompting.py", line 485, in process
        all_prompts, all_negative_prompts = generate_prompts(
      File "C:\Users\nico\IA\stable-diffusion-webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\helpers.py", line 93, in generate_prompts
        all_prompts = prompt_generator.generate(prompt, num_prompts, seeds=seeds) or [""]
      File "C:\Users\nico\IA\stable-diffusion-webui\venv\lib\site-packages\dynamicprompts\generators\randomprompt.py", line 71, in generate
        prompts.append(next(iter(gen)))
    StopIteration

Reinstalling the extension didn't change anything

Any clue is welcome. thks

Originally created by @nlienard on GitHub (Sep 1, 2023). Original GitHub issue: https://github.com/ahgsql/StyleSelectorXL/issues/15 A1111 1.6 Whenever i use the style editor i got this error ``` An error occurred: No template found with name '['Cinematic', 'Cinematic']'. An error occurred: No template found with name '['Cinematic', 'Cinematic']'. *** Error running process: C:\Users\nico\IA\stable-diffusion-webui\extensions\sd-dynamic-prompts\scripts\dynamic_prompting.py Traceback (most recent call last): File "C:\Users\nico\IA\stable-diffusion-webui\modules\scripts.py", line 619, in process script.process(p, *script_args) File "C:\Users\nico\IA\stable-diffusion-webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\dynamic_prompting.py", line 485, in process all_prompts, all_negative_prompts = generate_prompts( File "C:\Users\nico\IA\stable-diffusion-webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\helpers.py", line 93, in generate_prompts all_prompts = prompt_generator.generate(prompt, num_prompts, seeds=seeds) or [""] File "C:\Users\nico\IA\stable-diffusion-webui\venv\lib\site-packages\dynamicprompts\generators\randomprompt.py", line 71, in generate prompts.append(next(iter(gen))) StopIteration ``` Reinstalling the extension didn't change anything Any clue is welcome. thks
Author
Owner

@nlienard commented on GitHub (Sep 1, 2023):

all the style are in doublon in the list:

image

<!-- gh-comment-id:1703308702 --> @nlienard commented on GitHub (Sep 1, 2023): all the style are in doublon in the list: ![image](https://github.com/ahgsql/StyleSelectorXL/assets/13884545/60c0533c-55e1-4547-8706-eb07020cceb9)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ahgsql/StyleSelectorXL#8
No description provided.