1647: post-review fails to log in, produces: TypeError: account_login() got an unexpected keyword argument 'api_format'

joel.******@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
May 13, 2010
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.
chipx86
#1 chipx86
This is now fixed in the newest Djblets (0.6.1). Please upgrade using:

  sudo easy_install -U Djblets
  • +Fixed
  • +Djblets
    +Component-API
  • +chipx86
#2 joel.******@gmai***** (Google Code) (Is this you? Claim this profile.)
right on, upgraded, fixed.  thanks!