israel-dryer / ttkbootstrap

A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.
MIT License
1.89k stars 381 forks source link

Error: line 595, in theme_use raise TclError(themename, "is not a valid theme.") I have messed up the themes and try to reinstall ttkbootstrap to start fresh but........ #582

Open LesHol opened 4 months ago

LesHol commented 4 months ago

I have created a function where you can choose which theme to use. I have then created a new theme in ttkcreator and saved it. How do I get it into "standard themes"? I tried to copy the parameters into the standard file but it doesn´t work. Error: line 595, in theme_use raise TclError(themename, "is not a valid theme.")

Whatever I do, both reinstalling in my virtual environment and under Python, I still get the same error. Both the "standard" and "user" files are the default ones. Nowhere in my code or elsewhere can i find this themename referenced.

Please help TIA Leslie

Originally posted by @LesHol in https://github.com/israel-dryer/ttkbootstrap/discussions/580