this works for me.... try passing the password quoted, as a string, e.g.: python ./web2py.py -v -D 0 -N --password 'blablabla'
On Sun, Jul 12, 2009 at 11:34 PM, Gijsbert <[email protected]>wrote: > > Hi, > > I've just installed the latest web2py_src.zip 1.65.3 on macosx 10.5.7 > and I am running the server as such: > > unzip web2py_src.zip > cd ./web2py > python ./web2py.py -v -D 0 -N --password blablabla > > the last commands outputs: > > default applications appear to be installed already > web2py Enterprise Web Framework > Created by Massimo Di Pierro, Copyright 2007-2009 > Version 1.65.3 (2009-07-12 17:32:25) > Database drivers available: SQLite3 > Starting cron... > please visit: > http://127.0.0.1:8000 > use "kill -SIGTERM 30237" to shutdown the web2py server > INFO:root:Hard cron daemon started > INFO:root:starting web server... > INFO:root:SSL is off > > The examples work but when I try to go to the admin interface I keep > on getting redirected to the login page (http://127.0.0.1:8000/admin/ > default/index?send=%2Fadmin%2Fdefault%2Fsite<http://127.0.0.1:8000/admin/%0Adefault/index?send=%2Fadmin%2Fdefault%2Fsite> > ). > > I've put some logging in admin/controller/default.py and I see that my > password is accepted and the session is updated (I see a file with > about 90 bytes in the sessions directory, and the word authorized is > in there). > But it seems I get a new session object for every request. I have this > both in Firefox 3.5 and Safari, both have cookies enabled. > > How do I fix this? > > Thanks, > Gijsbert > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

