Hi,
I'm getting the below error while posting review request through postreview.

TypeError: serialize_status_field() got an unexpected keyword argument 
'request'

Request is getting created but unable to add People and publish the request.

Please help me.
I'm using 1.7RC1 on Ubuntu with Perforce.

Complete error is given below :

serialize_status_field() got an unexpected keyword argument 'request'
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/handlers/base.py",
 
line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/views/decorators/cache.py",
 
line 89, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/views/decorators/vary.py",
 
line 19, in inner_func
    response = func(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/webapi/resources.py",
 
line 461, in __call__
    result = view(request, api_format=api_format, *args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/util/decorators.py",
 
line 75, in _call
    f = augmented_func(*args, **kwargs)
  File 
"/home/siso/Downloads/ReviewBoard-1.7beta1/reviewboard/webapi/decorators.py", 
line 32, in _check
    return view_func(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/util/decorators.py",
 
line 75, in _call
    f = augmented_func(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/webapi/decorators.py",
 
line 62, in _call
    return view_func(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/webapi/resources.py",
 
line 716, in get
    *args, **kwargs),
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/webapi/resources.py",
 
line 904, in serialize_object
    value = serialize_func(obj, request=request)
TypeError: serialize_status_field() got an unexpected keyword argument 
'request'
2012-12-11 20:33:35,937 - ERROR - Internal Server Error: 
/api/review-requests/2/
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/core/handlers/base.py",
 
line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/views/decorators/cache.py",
 
line 89, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Django-1.4.2-py2.7.egg/django/views/decorators/vary.py",
 
line 19, in inner_func
    response = func(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/webapi/resources.py",
 
line 461, in __call__
    result = view(request, api_format=api_format, *args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/util/decorators.py",
 
line 75, in _call
    f = augmented_func(*args, **kwargs)
  File 
"/home/siso/Downloads/ReviewBoard-1.7beta1/reviewboard/webapi/decorators.py", 
line 32, in _check
    return view_func(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/util/decorators.py",
 
line 75, in _call
    f = augmented_func(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/webapi/decorators.py",
 
line 62, in _call
    return view_func(*args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/webapi/resources.py",
 
line 716, in get
    *args, **kwargs),
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.7.6-py2.7.egg/djblets/webapi/resources.py",
 
line 904, in serialize_object
    value = serialize_func(obj, request=request)
TypeError: serialize_status_field() got an unexpected keyword argument 
'request'

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Reply via email to