question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error loading script: dynamic_prompting.py

See original GitHub issue

I 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:closed
  • Created a year ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
krakensurfcommented, Oct 30, 2022

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.

1reaction
adieyalcommented, Nov 3, 2022

0.13.7 on the main branch should now work

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found