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)
support.mozilla.org
Users and Groups
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)
Assignee | ||
Comment 1•11 years ago
|
||
This is more helpful: TypeError count() got multiple values for keyword argument 'daterange' karma/manager.py, wrapper:28
Assignee | ||
Comment 2•11 years ago
|
||
Pull request: https://github.com/mozilla/kitsune/pull/1079 Landed on master: https://github.com/mozilla/kitsune/commit/a12c0fd92f257eebb6386dcd1f59de559a968ec3
Assignee | ||
Comment 3•11 years ago
|
||
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.
Description
•