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

data store: blank task state #6567

Open
oliver-sanders opened this issue Jan 20, 2025 · 0 comments
Open

data store: blank task state #6567

oliver-sanders opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something is wrong :( needs reproducing A bug report that does not yet have a reproducible example
Milestone

Comments

@oliver-sanders
Copy link
Member

A user has encountered a traceback in cylc tui which suggests that a task had a blank status:

  File "/.../cylc-8.3.6-1/lib/python3.9/site-packages/cylc/flow/tui/util.py", line 118, in get_task_icon
    ret.append(TASK_ICONS[status])
KeyError: ''

Tasks in the store should always have a status, even far future tasks should be waiting.

It's not clear how to reproduce this traceback (I haven't seen it before), possibly just some awkward edge case 🤦. We could protect Tui against this with a fallback to waiting, but it would be much better to find and cure the issue than cover it over.

@oliver-sanders oliver-sanders added bug Something is wrong :( needs reproducing A bug report that does not yet have a reproducible example labels Jan 20, 2025
@oliver-sanders oliver-sanders added this to the 8.x milestone Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong :( needs reproducing A bug report that does not yet have a reproducible example
Projects
None yet
Development

No branches or pull requests

1 participant