Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1647 by joel.truher: post-review fails to log in, produces: TypeError: account_login() got an unexpected keyword argument 'api_format'
http://code.google.com/p/reviewboard/issues/detail?id=1647

*NOTE: Do not post confidential information in this bug report.*

What version are you running?

1.0.8-py2.6

What's the URL of the page containing the problem?

post-review

What steps will reproduce the problem?
1. post-review
2.
3.

What is the expected output? What do you see instead?

instead of posting a review, i see:

Unable to log in: HTTP 500

the error log contains the following:

Traceback (most recent call last):

 File
"/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/django/core/handlers/base.py",
line 92, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File
"/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/django/views/decorators/cache.py",
line 44, in _wrapped_view_func
   response = view_func(request, *args, **kwargs)

 File
"/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/django/views/decorators/http.py",
line 37, in inner
   return func(request, *args, **kwargs)

 File
"/usr/local/lib/python2.6/dist-packages/Djblets-0.6-py2.6.egg/djblets/webapi/decorators.py",
line 55, in _dec
   response = view_func(*args, **kwargs)

TypeError: account_login() got an unexpected keyword argument 'api_format'


What operating system are you using? What browser?

ubuntu 9.10 on both client and server.

Please provide any additional information below.

the djblets version is 0.6.

the django version is 1.1.1

python version is 2.6

repository is svn.

looking at djblets/webapi/auth.py:account_login(), it looks like it's
expected apitype forever; i can't tell where the api_format arg is coming
from, but it's certainly used elsewhere.


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to