-
Notifications
You must be signed in to change notification settings - Fork 905
Crash when closing notification - KeyError: "No 'toast--title' key in COMPONENT_CLASSES"
#5646
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
Comments
KeyError: "No 'toast--title' key in COMPONENT_CLASSES"
Looking at the traceback, I notice that |
Tried again with the latest
Actually I think this fixes this issue. Initially, pip didn't update textual even though it said it did, but after manually uninstalling and reinstalling it, I can't reproduce it on the latest main |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
Glad that seems to fix it. Thanks for double-checking, my hand was getting tired trying to spam click to reproduce this! |
I think it is related to: #5629
Best to have some stress on your machine. I've got a basic Ryzen 5600x
and
stress --cpu 4 --timeout 600s --vm 4 --io 4 --vm-bytes 1024M
is enough for me.
To reproduce, you just need to spam "LMB" on the notification to close it, it will crash. If there is no notification title, it will crash with same error as in #5629
MRE:
Stacktrace:
The text was updated successfully, but these errors were encountered: