Closed Bug 1136810 Opened 10 years ago Closed 10 years ago

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

Categories

(Input Graveyard :: Backend, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

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
Closed: 10 years ago
Resolution: --- → FIXED
Product: Input → Input Graveyard
You need to log in before you can comment on or make changes to this bug.