You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Iv been encountering this error every time seed is to long, i use random seed so bug is annoying, Tried Manually and it works if i shorten the length of seed so its related to seed length.
Im using ForgeUI
*** Error running process: C:\AI\webui_forge_cu121_torch231\webui\extensions\sd-dynamic-prompts\scripts\dynamic_prompting.py
Traceback (most recent call last):
File "C:\AI\webui_forge_cu121_torch231\webui\modules\scripts.py", line 844, in process
script.process(p, *script_args)
File "C:\AI\webui_forge_cu121_torch231\webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\dynamic_prompting.py", line 480, in process
all_prompts, all_negative_prompts = generate_prompts(
File "C:\AI\webui_forge_cu121_torch231\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:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\generators\randomprompt.py", line 71, in generate
prompts.append(str(next(iter(gen))))
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\sampling_context.py", line 128, in
gen = (res.whitespace_squashed() for res in gen)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\base.py", line 79, in _get_sequence
yield rotate_and_join(sub_generators, separator=command.separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 49, in rotate_and_join
return SamplingResult.joined(rotate_all(generators), separator=separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in rotate_all
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\random.py", line 128, in _get_wildcard
yield from context.sample_prompts(value, 1)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\sampling_context.py", line 128, in
gen = (res.whitespace_squashed() for res in gen)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\base.py", line 79, in _get_sequence
yield rotate_and_join(sub_generators, separator=command.separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 49, in rotate_and_join
return SamplingResult.joined(rotate_all(generators), separator=separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in rotate_all
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\random.py", line 128, in _get_wildcard
yield from context.sample_prompts(value, 1)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\sampling_context.py", line 128, in
gen = (res.whitespace_squashed() for res in gen)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\base.py", line 79, in _get_sequence
yield rotate_and_join(sub_generators, separator=command.separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 49, in rotate_and_join
return SamplingResult.joined(rotate_all(generators), separator=separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in rotate_all
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\random.py", line 128, in get_wildcard
yield from context.sample_prompts(value, 1)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\sampling_context.py", line 119, in sample_prompts
command = parse(prompt, parser_config=self.parser_config)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\parser\parse.py", line 557, in parse
tokens = get_cached_parser(parser_config).parse_string(
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\pyparsing\core.py", line 1197, in parse_string
raise exc.with_traceback(None)
pyparsing.exceptions.ParseException: Expected end of text, found '' (at char 0), (line:1, col:1)
That's the error, and it stops using the wildcard when it happens, i tried multiple times by manually copy the seed and shorten it and it works. I'm am total noob in coding so don't have a clue how to fix or were to even look to change the random seed length.
The text was updated successfully, but these errors were encountered:
Iv been encountering this error every time seed is to long, i use random seed so bug is annoying, Tried Manually and it works if i shorten the length of seed so its related to seed length.
Im using ForgeUI
*** Error running process: C:\AI\webui_forge_cu121_torch231\webui\extensions\sd-dynamic-prompts\scripts\dynamic_prompting.py
Traceback (most recent call last):
File "C:\AI\webui_forge_cu121_torch231\webui\modules\scripts.py", line 844, in process
script.process(p, *script_args)
File "C:\AI\webui_forge_cu121_torch231\webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\dynamic_prompting.py", line 480, in process
all_prompts, all_negative_prompts = generate_prompts(
File "C:\AI\webui_forge_cu121_torch231\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:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\generators\randomprompt.py", line 71, in generate
prompts.append(str(next(iter(gen))))
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\sampling_context.py", line 128, in
gen = (res.whitespace_squashed() for res in gen)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\base.py", line 79, in _get_sequence
yield rotate_and_join(sub_generators, separator=command.separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 49, in rotate_and_join
return SamplingResult.joined(rotate_all(generators), separator=separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in rotate_all
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\random.py", line 128, in _get_wildcard
yield from context.sample_prompts(value, 1)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\sampling_context.py", line 128, in
gen = (res.whitespace_squashed() for res in gen)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\base.py", line 79, in _get_sequence
yield rotate_and_join(sub_generators, separator=command.separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 49, in rotate_and_join
return SamplingResult.joined(rotate_all(generators), separator=separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in rotate_all
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\random.py", line 128, in _get_wildcard
yield from context.sample_prompts(value, 1)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\sampling_context.py", line 128, in
gen = (res.whitespace_squashed() for res in gen)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\base.py", line 79, in _get_sequence
yield rotate_and_join(sub_generators, separator=command.separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 49, in rotate_and_join
return SamplingResult.joined(rotate_all(generators), separator=separator)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in rotate_all
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\utils.py", line 41, in
return [next(gen) for gen in generators]
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\samplers\random.py", line 128, in get_wildcard
yield from context.sample_prompts(value, 1)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\sampling_context.py", line 119, in sample_prompts
command = parse(prompt, parser_config=self.parser_config)
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\dynamicprompts\parser\parse.py", line 557, in parse
tokens = get_cached_parser(parser_config).parse_string(
File "C:\AI\webui_forge_cu121_torch231\system\python\lib\site-packages\pyparsing\core.py", line 1197, in parse_string
raise exc.with_traceback(None)
pyparsing.exceptions.ParseException: Expected end of text, found '' (at char 0), (line:1, col:1)
That's the error, and it stops using the wildcard when it happens, i tried multiple times by manually copy the seed and shorten it and it works. I'm am total noob in coding so don't have a clue how to fix or were to even look to change the random seed length.
The text was updated successfully, but these errors were encountered: