This is the problem, temporary, hacky, patch
try:
_config={}
if request.env.server_port:
port=int(request.env.server_port)
else:
port = 8000
restricted(open(apath('../parameters_%i.py'%port),'r').read
(),_config)
if not _config.has_key('password') or not _config['password']:
raise HTTP(200,T('admin disabled because no admin password'))
except Exception:
raise HTTP(200,T('admin disabled because unable to access password
file'))
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---