[heartbeat] UnboundLocalError: local variable 'showdata' referenced before assignment

RESOLVED FIXED

Status

P1
normal
RESOLVED FIXED
4 years ago
2 years ago

People

(Reporter: willkg, Assigned: willkg)

Tracking

Details

(Whiteboard: u=gregg c=heartbeat p=1 s=input.2015q1)

Saw a bunch of errors from an analyzer looking at hb data.

Needs looking into.

Traceback:

Internal Server Error: /en-US/analytics/hbdata/16617
Traceback (most recent call last):
  File "/data/www/input.mozilla.org/input/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/data/www/input.mozilla.org/venv/lib/python2.7/site-packages/newrelic-2.38.0.31/newrelic/hooks/framework_django.py", line 497, in wrapper
    return wrapped(*args, **kwargs)
  File "/data/www/input.mozilla.org/input/fjord/base/utils.py", line 432, in _wrapped_view
    return fun(request, *args, **kwargs)
  File "/data/www/input.mozilla.org/input/vendor/src/django/django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/data/www/input.mozilla.org/input/fjord/analytics/analyzer_views.py", line 111, in hb_data
    'showdata': showdata,
UnboundLocalError: local variable 'showdata' referenced before assignment
Grabbing this to look into now.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Whiteboard: u=gregg c=heartbeat p= s=input.2015q1 → u=gregg c=heartbeat p=1 s=input.2015q1
Pushed this to prod just now. This looks fixed.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Product: Input → Input Graveyard
You need to log in before you can comment on or make changes to this bug.