Re: prewikki-httpd doesnt run

Christian Rumpf <[email protected]> Mon, 13 Dec 2010 22:17:21 +0100
Newsgroups gmane.comp.security.ids.prelude.user
Organization Linux User Group Sauerland
Message-ID <[email protected]>
--===============7738258131367916562==
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-6t3ar2q02YeohdFNDgz5"


--=-6t3ar2q02YeohdFNDgz5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

you can find the prewikka.conf here:

http://www.dathoschy.org/prewikka.txt


So but i have an update :)

Login works, but there is the next error:

i made a screenshot of the prewikka web interface.

http://www.dathoschy.org/prewikka.png

The Errormessege is this:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/prewikka/Core.py", line 324, in
process
    user =3D self.checkAuth(request)
  File "/usr/lib/python2.6/dist-packages/prewikka/Core.py", line 297, in
checkAuth
    user =3D 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/login=
password.py", line 64, in checkPassword
    if real_password =3D=3D None or self._hash(password) !=3D real_password=
:
  File
"/usr/lib/python2.6/dist-packages/prewikka/modules/auth/loginpassword/login=
password.py", line 50, in _hash
    return md5.new(data.encode("utf8")).hexdigest()
NameError: global name 'md5' is not defined


Best regards

Christian


--=20
Linux User Group Sauerland
-- Christian Rumpf --
Eckstr. 1
59872 Meschede - Grevenstein
Tel./Fax: +49 2934-424900
SIP: +49 2934-9699803=20
[email protected]
www.lug-sauerland.de

Am Montag, den 13.12.2010, 21:59 +0100 schrieb Fr=C3=A9d=C3=A9ric Yhuel:
> >=20
> > Ok the user prelude doesn't have an acces to the database. but
entry's
> > in the config (database, host, port. etc) are correct. And the
> > mysl-server is running.
> >=20
>=20
>=20
> Hi christian,
>=20
> Could you paste your config file somewhere ?
>=20
> BR,
> Fr=C3=A9d=C3=A9ric
> _______________________________________________
> Prelude-user site list
> [email protected]
> http://lists.prelude-technologies.com/mailman/listinfo/prelude-user

--=-6t3ar2q02YeohdFNDgz5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAABAgAGBQJNBo1eAAoJEDvkXqL0vqt/U4EH/iot2tMXs28pf6ZdCRxIxKDa
ukNVMisb13Q63hD0Zd56+Cd2ONqpLylh7C949dqtGfk6HIoHT48tMEJIyVTVbyaF
6JoOVUQ4S02d4ZzqZtV8bQkM8XbuZkdAKf64jb+hAXbGSmqV9l6PAEfEmGLxjBZE
MoE15LaiFjccCZdJlDqQRIRTaqQlcq7hH3xypnSZnEHsL6mTgDEqd6c/jikHcXW6
rdT+QtXN7Ec+dLMSPRs2A3uIYR4APJPn8icUFIDMz7TYqOBFMeQhCGacFMyXH9He
l1NMf+jkoyw4AI+XECZxHFkL/ULSYywHAKSclyCoRqrno/lNg/DdnmeRDAHXSgU=
=vGn3
-----END PGP SIGNATURE-----

--=-6t3ar2q02YeohdFNDgz5--


--===============7738258131367916562==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-user
--===============7738258131367916562==--