ITADN

Error when LORAs contain double-underscores since updating (ForgeUI)

#866Openspooji 创建于 2025-08-01
S
spoojicommented
It appears there is an error now if a LORA's filename contains double-underscores and using a template {curly braces}. Removing the LORA's from the prompt works around the error but then the LORA cannot be applied. Confirmed and tested by changing the Dynamic Prompt settings to use triple-underscore to parse wildcards. SDDP seems to no longer ignore text within the <angle brackets> for LORAs. *** Error running process: V:\ForgeUI\webui\extensions\sd-dynamic-prompts\scripts\dynamic_prompting.py Traceback (most recent call last): File "V:\ForgeUI\webui\modules\scripts.py", line 844, in process script.process(p, *script_args) File "V:\ForgeUI\webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\dynamic_prompting.py", line 480, in process all_prompts, all_negative_prompts = generate_prompts( File "V:\ForgeUI\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 "V:\ForgeUI\system\python\lib\site-packages\dynamicprompts\generators\randomprompt.py", line 67, in generate gen = self._context.sample_prompts(template, num_images) File "V:\ForgeUI\system\python\lib\site-packages\dynamicprompts\sampling_context.py", line 119, in sample_prompts command = parse(prompt, parser_config=self.parser_config) File "V:\ForgeUI\system\python\lib\site-packages\dynamicprompts\parser\parse.py", line 557, in parse tokens = get_cached_parser(parser_config).parse_string( File "C:\Users\bill\AppData\Roaming\Python\Python310\site-packages\pyparsing\core.py", line 1141, in parse_string raise exc.with_traceback(None) pyparsing.exceptions.ParseException: Expected end of text, found '_' (at char 518), (line:7, col:36)
0 条评论