Which python version are you using?
Is this a clean install or do you have lots of modules installed?
My guess is that it is either a cookie issue, or permission issue (you
can write the session but not read them) or a bug with cPicke. in your
version.
Can you try the OSX binary too.


Massimo

On Jul 13, 1:21 am, Yarko Tymciurak <[email protected]> wrote:
> no.... you shouldn't have to do anything but run web2py.
>
> When I go to admin, it goes tohttp://localhost:8000/admin/default/site (my
> session file gets accessed, but doesn't change)
>
> What version of python are you running?
>
> On Mon, Jul 13, 2009 at 12:59 AM, Gijsbert <[email protected]>wrote:
>
>
>
> > That does not work for me either. Well, actually both work, but the
> > authentication is lost due to some session problem.
>
> > There is something strange going on with the session id. Every time I
> > reloadhttp://127.0.0.1:8000/admin/default/indexa new (3 byte)
> > session file gets added to the admin/sessions and the session_id_admin
> > cookie gets updated.
>
> > Do I have to initialize a database or something else to get the
> > sessions to be stored and retrieved correctly?
>
> > On Jul 13, 12:47 am, Yarko Tymciurak <[email protected]> wrote:
> > > 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%...>
> > > > ).
>
> > > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to