This site is an archive; learn more about 8 years of OpenHatch.

[OH-Dev] [issue1018] ValueError: Unknown password hashing algorithm ''. Did you specify it in the PASSWORD_HASHERS setting?

Asheesh Laroia bugs at openhatch.org
Mon Jul 14 15:36:24 UTC 2014


New submission from Asheesh Laroia <asheesh at asheesh.org>:

On the production site, I got a traceback email.

I wonder if this means that signing up for a new account, or maybe merging
your OpenID with a password-based account, is not working properly, perhaps
due to the Django upgrade?

---------- Forwarded message ----------
From:  <mr_website at linode.openhatch.org>
Date: Sunday, July 13, 2014
Subject: [Monitoring-private] [Kaboom at OH] ERROR (EXTERNAL IP): Internal
Server Error: /openid/register/
To: monitoring-private at lists.openhatch.org

Traceback (most recent call last):

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/core/handlers/base.py",
line 109, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File
"/home/deploy/milestone-a.buildout/vendor/packages/django-authopenid/django_authopenid/views.py",
line 159, in decorated
    return func(request, *args, **kwargs)

  File "/home/deploy/milestone-a.buildout/mysite/account/views.py", line
527, in register
    'email': email

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/forms/forms.py",
line 124, in is_valid
    return self.is_bound and not bool(self.errors)

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/forms/forms.py",
line 115, in _get_errors
    self.full_clean()

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/forms/forms.py",
line 271, in full_clean
    self._clean_form()

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/forms/forms.py",
line 299, in _clean_form
    self.cleaned_data = self.clean()

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/contrib/auth/forms.py",
line 167, in clean
    password=password)

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/contrib/auth/__init__.py",
line 45, in authenticate
    user = backend.authenticate(**credentials)

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/contrib/auth/backends.py",
line 15, in authenticate
    if user.check_password(password):

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/contrib/auth/models.py",
line 304, in check_password
    return check_password(raw_password, self.password, setter)

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/contrib/auth/hashers.py",
line 48, in check_password
    hasher = get_hasher(algorithm)

  File
"/home/deploy/milestone-a.buildout/vendor/packages/Django/django/contrib/auth/hashers.py",
line 121, in get_hasher
    "setting?" % algorithm)

ValueError: Unknown password hashing algorithm ''. Did you specify it in
the PASSWORD_HASHERS setting?

----------
files: unnamed
messages: 4465
nosy: paulproteus
status: unread
title: ValueError: Unknown password hashing algorithm ''. Did you specify it in the PASSWORD_HASHERS setting?

__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue1018>
__________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhatch.org/pipermail/devel/attachments/20140714/6d4393dd/attachment.html>


More information about the Devel mailing list