Project

General

Profile

Bug #394

Erreur sur interface prewikka

Added by Adrien Maquin about 10 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Start date:
01/31/2011
Due date:
% Done:

0%

Resolution:
invalid

Description

Bonjour,

Je viens d'installer l'interface prewikka. Lorsque je me loge sur l'interface (admin/admin)
j'ai une page m'affichant les erreurs suivantes:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/prewikka/Core.py", line 324, in process
user = self.checkAuth(request)
File "/usr/lib/python2.6/dist-packages/prewikka/Core.py", line 297, in checkAuth
user = self._env.auth.getUser(request)
File "/usr/lib/python2.6/dist-packages/prewikka/Auth.py", line 128, in getUser
self.checkPassword(login, password)
File "/usr/lib/python2.6/dist-packages/prewikka/modules/auth/loginpassword/loginpassword.py", line 64, in checkPassword
if real_password == None or self._hash(password) != real_password:
File "/usr/lib/python2.6/dist-packages/prewikka/modules/auth/loginpassword/loginpassword.py", line 50, in _hash
return md5.new(data.encode("utf8")).hexdigest()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'

Comment dois-je faire pour r�soudre le probl�me?
Merci beaucoup

History

#1 Updated by Jean-Charles ROGEZ about 9 years ago

  • Status changed from New to Assigned
  • Assignee changed from Yoann VANDOORSELAERE to Jean-Charles ROGEZ
  • Priority changed from High to Normal

Il semble que cela soit un problème d'installation de Python.
Depuis Python 2.5, le module md5 est un alias sur le module hashlib qui repose sur OpenSSL.

Vérifier la présence du fichier /usr/lib64/python2.6/lib-dynload/_hashlib.so ou /usr/lib/python2.6/lib-dynload/_hashlib.so et faite un

ldd /usr/lib64/python2.6/lib-dynload/_hashlib.so | grep ssl

Vous devriez avoir quelque chose comme cela

libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f3b2c94e000)

#2 Updated by Jean-Charles ROGEZ almost 9 years ago

  • Status changed from Assigned to Rejected
  • Resolution set to invalid

This is not a Prewikka problem but an OS installation issue.
Ticket closed.

#3 Updated by Thomas ANDREJAK over 5 years ago

  • Target version changed from 109 to Prelude OSS 1.0.0

Also available in: Atom PDF