-
Notifications
You must be signed in to change notification settings - Fork 888
Regular crashes within _styles_cache.py #5796
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
The traceback suggests you aren't running on the latest version. The line numbers don't match what I would expect for the latest version. I'd look into the environment that is running the app. The exception looks familiar. I suspect an upgrade will fix it. |
As I understand it, 3.2.0 is the latest version. If not, could you please provide me with a specific version to try? |
3.2.0 is the latest version, but the attached traceback was running an earlier version. |
Ok. I am confused as I don't have Textual outside the venv and I don't remember upgrading the package between the traceback generation and the textual diagnose. Anyway, I launch a new test to be sure. Results in six days... Thanks Will |
I use Textual as an interface for running long industrial tests (e.g. two weeks span). At some seemingly random moments, my interface crashes.
It happens always in the same function of _styles_cache.py, for a missing "Y" key error. In my interface, I use a Log widget to display the INFO level logging entries (while all levels including INFO are put in a file). It seems that Textual crashes when writing a log entry to the Log widget.
I can't provide the code as it is linked to a physical test bench. But I did attached the exception trace and a screenshot of my interface.
I have no clue on how to fix it at least temporarily in order to complete my tests. Any suggestions ?
PS : Below the "textual diagnose", the screenshot and the trace:
Versions
Python
/Documents/main_controller/venv/bin/python3 |
Operating System
Terminal
Rich Console options
textual_crash_trace.txt
The text was updated successfully, but these errors were encountered: