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

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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
debian's avatar
1
debian
asked 12 years ago
Evgeny's avatar
13.2k
Evgeny
updated 12 years ago

Comments

see more comments