Error loading script: dynamic_prompting.py
See original GitHub issueI don’t understand why the script is not working for me.
Error loading script: dynamic_prompting.py Traceback (most recent call last):   File "~~~/stable-diffusion-webui/modules/scripts.py", line 159, in load_scripts     exec(compiled, module.__dict__)   File "~~~/stable-diffusion-webui/scripts/dynamic_prompting.py", line 52, in <module>     class WildcardManager:   File "~~~/stable-diffusion-webui/scripts/dynamic_prompting.py", line 65, in WildcardManager     def get_files(self, relative:bool=False) -> list[Path]: TypeError: 'type' object is not subscriptable
Issue Analytics
- State:
 - Created a year ago
 - Comments:17 (7 by maintainers)
 
Top Results From Across the Web
[Bug]: Many scripts cannot be loaded. #3944 - GitHub
Then I added a script for "dynamic prompts" and this one gives me an error. Error loading script: dynamic_prompting.py Traceback (most recent ...
Read more >load python script activity throwing error - 2021
Hello Team, I am trying to run python code from uipath, if i run some simple (like adding two numbers) script, it is...
Read more >Why are these import errors occurring when running python ...
I am encoutering import errors, but only when running my python scripts from cmd or windows task scheduler (effectively the same issue I ......
Read more >Data Loading with Python Scripts throwing Error - 2021
Hey All So I'm pulling data from Statistics Canada with their API. I am using a Python Script to bring it in because...
Read more >Error while loading data into python - Scripting - KNIME Forum
Hi, I recently migrated from python 3.6 to 3.8 and my python script nodes start to fail with the error message: ERROR Python...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I updated to 3.10, then decided to install SD on a new drive, but for some reason it doesn’t see the new path. I’m installing Python 3.11. If it doesn’t work then I’ll delete everything in the drive and start from scratch “After” 3.11 is running perfectly. I’ll let you know what happened.
0.13.7 on the main branch should now work