Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running process for Magic Prompt #815

Open
bkev opened this issue Aug 23, 2024 · 0 comments
Open

Error running process for Magic Prompt #815

bkev opened this issue Aug 23, 2024 · 0 comments

Comments

@bkev
Copy link

bkev commented Aug 23, 2024

Hi,
Love this extension!
It seems to work for me when I use variables in {} but if I try and turn on "Prompt Magic" it fails.

The first time I click it, the extension does indeed download the files required, but when I try to use it I get an error

*** Error running process: \path\to\ForgeUI\webui\extensions\sd-dynamic-prompts\scripts\dynamic_prompting.py
Traceback (most recent call last):
File "\path\to\ForgeUI\webui\modules\scripts.py", line 844, in process
script.process(p, *script_args)
File "\path\to\ForgeUI\webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\dynamic_prompting.py", line 480, in process
all_prompts, all_negative_prompts = generate_prompts(
File "\path\to\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 "\path\to\ForgeUI\system\python\lib\site-packages\dynamicprompts\generators\magicprompt.py", line 167, in generate
prompts = self._prompt_generator.generate(*args, **kwargs)
File "\path\to\ForgeUI\system\python\lib\site-packages\dynamicprompts\generators\randomprompt.py", line 71, in generate
prompts.append(str(next(iter(gen))))
StopIteration

The Dynamic Prompts extension and library are the latest versions and if I run /path/to/python/binary/python -m pip install -U dynamicprompts[attentiongrabber,magicprompt] as the troubleshooting says it seems to think everything is ok.

I'm a little confused, could you offer any help for me please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant