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

BUG color map for get_usage_plot exausted #450

Closed
wabscale opened this issue Apr 23, 2023 · 1 comment
Closed

BUG color map for get_usage_plot exausted #450

wabscale opened this issue Apr 23, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@wabscale
Copy link
Collaborator

│Running visuals job - 2023-04-23 15:36:19.748654                                                                                                                                                                  │
│ Traceback (most recent call last):                                                                                                                                                                                │
│   File "/opt/app/anubis/jobs/visuals.py", line 45, in <module>                                                                                                                                                    │
│     main()                                                                                                                                                                                                        │
│   File "/opt/app/anubis/utils/data.py", line 325, in wrapper                                                                                                                                                      │
│     return function(*args, **kwargs)                                                                                                                                                                              │
│   File "/opt/app/anubis/jobs/visuals.py", line 19, in main                                                                                                                                                        │
│     get_usage_plot(course.id)                                                                                                                                                                                     │
│   File "/usr/local/lib/python3.10/site-packages/flask_caching/__init__.py", line 877, in decorated_function                                                                                                       │
│     rv = self._call_fn(f, *args, **kwargs)                                                                                                                                                                        │
│   File "/usr/local/lib/python3.10/site-packages/flask_caching/__init__.py", line 180, in _call_fn                                                                                                                 │
│     return ensure_sync(fn)(*args, **kwargs)                                                                                                                                                                       │
│   File "/opt/app/anubis/utils/visuals/usage.py", line 55, in get_usage_plot                                                                                                                                       │
│     color = assignment_colors[assignment.id]                                                                                                                                                                      │
│ KeyError: '479a1685-8f26-4eb0-aeeb-116b0727b8c2'                  
@wabscale wabscale added the bug Something isn't working label Apr 23, 2023
@wabscale wabscale self-assigned this Apr 23, 2023
@wabscale
Copy link
Collaborator Author

ff9eb5a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant