error, i have no idea how to fix it, only happens when wildcards are active #819
Unanswered
claymanexe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
*** Error running process: C:\Users\Claym\Downloads\stable-diffusion-webui-master\stable-diffusion-webui-master\extensions\sd-dynamic-prompts\scripts\dynamic_prompting.py
Traceback (most recent call last):
File "C:\Users\Claym\Downloads\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\scripts.py", line 825, in process
script.process(p, *script_args)
File "C:\Users\Claym\Downloads\stable-diffusion-webui-master\stable-diffusion-webui-master\extensions\sd-dynamic-prompts\sd_dynamic_prompts\dynamic_prompting.py", line 480, in process
all_prompts, all_negative_prompts = generate_prompts(
^^^^^^^^^^^^^^^^^
File "C:\Users\Claym\Downloads\stable-diffusion-webui-master\stable-diffusion-webui-master\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\Claym\AppData\Local\Programs\Python\Python311\Lib\site-packages\dynamicprompts\generators\randomprompt.py", line 71, in generate
prompts.append(str(next(iter(gen))))
^^^^^^^^^^^^^^^
File "C:\Users\Claym\AppData\Local\Programs\Python\Python311\Lib\site-packages\dynamicprompts\samplers\base.py", line 79, in _get_sequence
yield rotate_and_join(sub_generators, separator=command.separator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Claym\AppData\Local\Programs\Python\Python311\Lib\site-packages\dynamicprompts\utils.py", line 49, in rotate_and_join
return SamplingResult.joined(rotate_all(generators), separator=separator)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Claym\AppData\Local\Programs\Python\Python311\Lib\site-packages\dynamicprompts\utils.py", line 41, in rotate_all
return [next(gen) for gen in generators]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Claym\AppData\Local\Programs\Python\Python311\Lib\site-packages\dynamicprompts\utils.py", line 41, in
return [next(gen) for gen in generators]
^^^^^^^^^
File "C:\Users\Claym\AppData\Local\Programs\Python\Python311\Lib\site-packages\dynamicprompts\samplers\random.py", line 128, in _get_wildcard
yield from context.sample_prompts(value, 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Claym\AppData\Local\Programs\Python\Python311\Lib\site-packages\dynamicprompts\sampling_context.py", line 119, in sample_prompts
command = parse(prompt, parser_config=self.parser_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Claym\AppData\Local\Programs\Python\Python311\Lib\site-packages\dynamicprompts\parser\parse.py", line 557, in parse
tokens = get_cached_parser(parser_config).parse_string(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Claym\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyparsing\core.py", line 1200, in parse_string
raise exc.with_traceback(None)
pyparsing.exceptions.ParseException: Expected end of text, found '{' (at char 136), (line:1, col:137)
Beta Was this translation helpful? Give feedback.
All reactions