[traceback] IndexError: correlations where product = []
Categories
(Socorro :: Webapp, defect, P2)
Tracking
(Not tracked)
People
(Reporter: willkg, Unassigned)
References
Details
Sentry: https://sentry.prod.mozaws.net/operations/socorro-new-prod/issues/16817523/
Traceback:
IndexError: list index out of range
File "django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "crashstats/signature/views.py", line 69, in inner
return view(request, *args, **kwargs)
File "crashstats/signature/views.py", line 381, in signature_correlations
product_name = product_name[0]
It looks like someone is looking at a signature report where the querystring specifies a bunch of versions and it's unclear what else because it's truncated in the error report.
That signature report has a Correlations tab that does an HTTP GET for this page, but passes in an empty list for the product. That kicks up this error.
The signature report shouldn't be trying to get correlations without specifying a product--that's not how correlations works. It could be a bug in the signature report. It could be someone using a script to get around things. I can't really tell what's going on.
Getting the full url and querystring for the signature report might be helpful. It might be in the logs. This error was around Jan 10, 2022 4:00:00 AM UTC.
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Updated•4 years ago
|
Description
•