Can't use create a password-protected account in some language environments

asked 2012-12-19 05:23:28 -0500

debian gravatar image

updated 2012-12-19 08:15:51 -0500

Evgeny gravatar image

I'm tying to use the registration without provider with the option use create a password-protected account on sign-up but I have the following bug..

Django Version: 1.4.2

Exception Type: AssertionError

Exception Location: myproject/askbot/deps/django_authopenid/views.py in register, line 915

Traceback: File "~/django/core/handlers/base.py" in get_response 111. response = callback(request, callback_args, *callback_kwargs)

File "myproject/askbot/deps/django_authopenid/views.py" in decorated 265. return func(request, args, *kwargs)

File "~/django/utils/decorators.py" in _wrapped_view 91. response = view_func(request, args, *kwargs)

File "myproject/askbot/deps/django_authopenid/views.py" in register 915. assert(login_provider_name is not None)

I tried to solve this error and I accidentally realized that the error is only accuring when my language code is set to 'tr' (Turkish). I tried in French, English and Spanish it works without any problem.

Do you have any idea what might be the problem?

edit retag flag offensive close merge delete