Re: [web2py] Unable to login to admin in trunk

56 görüntüleme
İlk okunmamış mesaja atla

Jonathan Lundell

okunmadı,
19 Tem 2012 20:42:3319.07.2012
alıcı web...@googlegroups.com
On 19 Jul 2012, at 4:17 PM, JohnB wrote:
Using Version 2.00.0 (2012-07-19 16:56:40) dev

$python web2py.py
Enter pw and start server.
Starts up OK in welcome app.
Click on goto admin button and get login screen. 
Enter pw and get admin error ticket.

Has password hash in parameters_8000.py

Help?



Post the ticket from the admin/errors directory?

Massimo Di Pierro

okunmadı,
20 Tem 2012 12:22:0120.07.2012
alıcı web...@googlegroups.com
can you please try again?

Daniel Aguayo

okunmadı,
20 Tem 2012 14:03:3620.07.2012
alıcı web...@googlegroups.com
Hi, It's still not resolved


El viernes, 20 de julio de 2012 12:22:01 UTC-4, Massimo Di Pierro escribió:
can you please try again?


Traceback (most recent call last):
  File "web2py.py", line 25, in <module>
    gluon.widget.start(cron=True)
  File "/home/dantoac/web2py_git/gluon/widget.py", line 1065, in start
    interfaces=options.interfaces)
  File "/home/dantoac/web2py_git/gluon/main.py", line 783, in __init__
    save_password(password, port)
  File "/home/dantoac/web2py_git/gluon/main.py", line 648, in save_password
    fp.write('password="%s"\n' % cpassword)
  File "/home/dantoac/web2py_git/gluon/validators.py", line 2574, in __str__
    hashed = simple_hash(self.password, masterkey, digest_alg)
  File "/home/dantoac/web2py_git/gluon/utils.py", line 46, in simple_hash
    return hmac_hash(text, salt, digest_alg)
  File "/home/dantoac/web2py_git/gluon/utils.py", line 87, in hmac_hash
    int(keylen),get_digest(alg))
  File "/home/dantoac/web2py_git/gluon/utils.py", line 72, in get_digest
    raise ValueError("Invalid digest algorithm: %s" % value)
ValueError: Invalid digest algorithm: sh512
 

Jonathan Lundell

okunmadı,
20 Tem 2012 14:24:0120.07.2012
alıcı web...@googlegroups.com
On 20 Jul 2012, at 11:03 AM, Daniel Aguayo wrote:
Hi, It's still not resolved

Yeah, that was just for diagnostic purposes. Find where you're specifying 'sh512' and change it to 'sha512'.

Daniel Aguayo

okunmadı,
20 Tem 2012 14:47:4420.07.2012
alıcı web...@googlegroups.com


El viernes, 20 de julio de 2012 14:24:01 UTC-4, Jonathan Lundell escribió:
On 20 Jul 2012, at 11:03 AM, Daniel Aguayo wrote:
Hi, It's still not resolved

Yeah, that was just for diagnostic purposes. Find where you're specifying 'sh512' and change it to 'sha512'.


Hi Jonathan
I know, I was just giving you feedback
Thank you :)

Massimo Di Pierro

okunmadı,
20 Tem 2012 14:51:5320.07.2012
alıcı web...@googlegroups.com
my bad. fixed.
Tümünü yanıtla
Yazarı yanıtla
Yönlendir
0 yeni ileti