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

Comparison breaks on reruns #1225

Open
donkirkby opened this issue Apr 20, 2021 · 0 comments
Open

Comparison breaks on reruns #1225

donkirkby opened this issue Apr 20, 2021 · 0 comments
Labels
Milestone

Comments

@donkirkby
Copy link
Member

I'm not sure exactly how to reproduce it, but I reran a run, and got this error:

Traceback:

File "/opt/venv_kive/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  34.             response = get_response(request)

File "/opt/venv_kive/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  115.                 response = self.process_exception_by_middleware(e, request)

File "/opt/venv_kive/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  113.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/opt/venv_kive/lib/python3.6/site-packages/django/views/generic/base.py" in view
  71.             return self.dispatch(request, *args, **kwargs)

File "/opt/venv_kive/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapper
  45.         return bound_method(*args, **kwargs)

File "/opt/venv_kive/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  21.                 return view_func(request, *args, **kwargs)

File "/opt/venv_kive/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
  97.         return handler(request, *args, **kwargs)

File "/usr/local/share/Kive/kive/container/views.py" in get
  331.         return super(ContainerRunUpdate, self).get(request, *args, **kwargs)

File "/opt/venv_kive/lib/python3.6/site-packages/django/views/generic/edit.py" in get
  190.         return super().get(request, *args, **kwargs)

File "/opt/venv_kive/lib/python3.6/site-packages/django/views/generic/edit.py" in get
  133.         return self.render_to_response(self.get_context_data())

File "/usr/local/share/Kive/kive/container/views.py" in get_context_data
  300.             data_entries = [dict(**c._asdict()) for c in dataset_comparisons]

File "/usr/local/share/Kive/kive/container/views.py" in <listcomp>
  300.             data_entries = [dict(**c._asdict()) for c in dataset_comparisons]

Exception Type: AttributeError at /container_runs/153074/
Exception Value: 'NoneType' object has no attribute '_asdict'

One guess is that both the original and the rerun were still running when I got the error.

@donkirkby donkirkby added the bug label Apr 20, 2021
@donkirkby donkirkby added this to the Near future milestone Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant