Closed Bug 578507 Opened 14 years ago Closed 13 years ago

Crash on stats page json page

Categories

(addons.mozilla.org Graveyard :: Statistics, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jbalogh, Unassigned)

References

()

Details

(Whiteboard: [z])

Traceback (most recent call last):

 File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/data/amo_python/www/preview/zamboni/apps/stats/views.py", line 42, in downloads_series
   addon_id, group, start, end, format)

 File "/data/amo_python/www/preview/zamboni/apps/stats/views.py", line 179, in check_series_params_or_404
   (start_date, end_date) = get_daterange_or_404(start, end)

 File "/data/amo_python/www/preview/zamboni/apps/stats/views.py", line 251, in get_daterange_or_404
   assert len(start) == 8

TypeError: object of type 'float' has no len()
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.