Closed Bug 834713 Opened 11 years ago Closed 11 years ago

[traceback] in karma admin page

Categories

(support.mozilla.org :: Users and Groups, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED
2013Q1

People

(Reporter: rrosario, Assigned: rrosario)

Details

(Whiteboard: u=dev c=karma p=0 s=2013.2)

We are using wrong parameters (order?) in karma admin view call to KarmaManager.count().


Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "django/utils/decorators.py", line 91, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "django/views/decorators/cache.py", line 89, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "django/contrib/admin/sites.py", line 196, in inner
    return view(request, *args, **kwargs)
  File "karma/admin.py", line 65, in karma
    u in kmgr.top_users(daterange='1w') or []]
  File "karma/admin.py", line 105, in _user_karma_week
    'points': kmgr.count(user, daterange='1w', type='points'),
  File "karma/manager.py", line 28, in wrapper
    return func(*args, **kwargs)
This is more helpful:	

TypeError
count() got multiple values for keyword argument 'daterange'
karma/manager.py, wrapper:28
Deployed to prod now.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.