On Wed, 13 May 2009 16:42:11 +0200 Pau buttgereit@gmail.com wrote:
I just installed Nav 3.5.3 from source on a Debian 5 (Lenny), following the steps described in http://metanav.uninett.no/installing_from_source_on_debian. The problem is that when I try to log in I get the following error:
[snip]
File "/usr/local/nav/lib/python/nav/pwhash.py", line 80, in __init__ self.update(password)
File "/usr/local/nav/lib/python/nav/pwhash.py", line 96, in update hasher = known_methods[self.method].new(password + self.salt)
File "/usr/lib/python2.5/hashlib.py", line 98, in __hash_new return __get_builtin_constructor(name)(string)
File "/usr/lib/python2.5/hashlib.py", line 77, in __get_builtin_constructor raise ValueError, "unsupported hash type"
ValueError: unsupported hash type
Any clues on this? Did I do something wrong? Let me know if you need more info.
This seems to be a regression introduced by NAV 3.5.3, which causes the web login to fail under Python 2.5 or newer. I've just reported it here: https://bugs.launchpad.net/nav/+bug/376430
Thank you for reporting this issue; looks like we'll be releasing 3.4.4 to fix this ASAP.