Traceback (most recent call last):
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/sentry_sdk/integrations/django/views.py", line 67, in sentry_wrapped_callback
return callback(request, *args, **kwargs)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/contrib/auth/mixins.py", line 104, in dispatch
return super().dispatch(request, *args, **kwargs)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/aleksis/apps/evalu/views.py", line 466, in post
results_per_group["average"] = group.get_average_results(password)
File "/srv/aleksis/envs/production/lib/python3.9/site-packages/aleksis/apps/evalu/models.py", line 414, in get_average_results
average = sum(decrypted_values) / len(decrypted_values)
Exception Type: ZeroDivisionError at /app/evalu/evaluations/registrations/2/results/
Exception Value: division by zero