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

TclError: can't invoke "winfo" command: application has been destroyed #9

Open
NicolasCadieux opened this issue Nov 29, 2023 · 1 comment

Comments

@NicolasCadieux
Copy link

Hi,
I am new at everything GUI related so thanks for the demo. What is the "TclError: can't invoke "winfo" command: application has been destroyed" I get if I quit que GUI and try to restart the script? If I restart the python console, all is good.
Thanks
Nicolas

@NicolasCadieux
Copy link
Author

File ~\anaconda3\envs\Python39\lib\site-packages\sv_ttk_init_.py:62 in set_theme
cls.tcl.call("set_theme", theme.lower())

TclError: can't invoke "winfo" command: application has been destroyed

It's got something to do with sv_ttk.set_theme("light") line as I don't get the error if the line is commented out.

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