First time here? Check out the FAQ!

New install, exception when registering

I deployed the site, it shows up as expected on a development server (i.e. runserver), but when I try to register with Google or Yahoo! I get the following traceback. I do have python-openid installed, I did not create a Django superuser on the first syncdb, I ran the necessary South migrations, and (I believe) I followed all the other instructions.


Request Method: POST
Request URL:
Django Version: 1.1.2
Python Version: 2.6.5
Installed Applications:
Installed Middleware:

File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/" in get_response
  99.                     response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.6/dist-packages/askbot-0.6.11-py2.6.egg/askbot/deps/django_authopenid/" in decorated
  218.         return func(request, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/askbot-0.6.11-py2.6.egg/askbot/deps/django_authopenid/" in register
  772.                 raise Exception('this does not make any sense')

Exception Type: Exception at /account/register/
Exception Value: this does not make any sense
rfrankel's avatar
asked 2010-09-22 16:50:45 -0500
edit flag offensive 0 remove flag close merge delete


Interesting, this is one of those exceptions that "should never happen" :) ... looking into it.
Evgeny's avatar Evgeny (2010-09-22 16:55:01 -0500) edit
add a comment see more comments

1 Answer


I'm guessing that your django_authopenid has not been migrated - my fault - have not updated the instructions.

Try (in addition):

python migrate django_authopenid

edit: this solves the problem, please make AUTHENTICATION_BACKENDS in look this way:


I forgot to update that in the template. You get 50 rep bonus for reporting this annoying issue :).

Evgeny's avatar
updated 2010-09-22 17:30:41 -0500, answered 2010-09-22 16:59:28 -0500
edit flag offensive 0 remove flag delete link


have you migrated the `django_authopenid` sub-app as well originally?
Evgeny's avatar Evgeny (2010-09-22 17:02:13 -0500) edit
I don't understand the difference between your answer and your comment, but I had already done `python migrate django_authopenid` before having the problem. I just ran it again, to make sure, and yep - didn't help.
rfrankel's avatar rfrankel (2010-09-22 17:04:42 -0500) edit
I wans't sure if you've done it already, so asked in the comment just in case (I've actually tried signing up at your site, hope you don't mind). Looking into this case right now.
Evgeny's avatar Evgeny (2010-09-22 17:09:35 -0500) edit
Don't mind at all - thanks for your time!
rfrankel's avatar rfrankel (2010-09-22 17:10:13 -0500) edit
Thanks, updating fixed the problem!
rfrankel's avatar rfrankel (2010-09-22 17:38:47 -0500) edit
add a comment see more comments