> If it's in a module (vs model) file, where are you invoking it from? I define it in a helper function of a module file, and invoke the function in a model file.
On 3月19日, 午前1:13, Jonathan Lundell <jlund...@pobox.com> wrote: > On Mar 18, 2011, at 9:01 AM, kenji4569 wrote: > > > > > session.connect(request, response, masterapp=masterapp, db=db) > > where masterapp is my application name, and use the method in a module > > file. > > If it's in a module (vs model) file, where are you invoking it from? > > > > > > > > > > > On 3月19日, 午前12:57, Massimo Di Pierro <massimo.dipie...@gmail.com> > > wrote: > >> Can you show the complete session.connect(...) statement? > > >> On Mar 18, 10:53 am, kenji4569 <hos...@s-cubism.jp> wrote: > > >>> I just upgraded from 1.91.6 to 1.94.4 through the admin interface. The > >>> problem is still reproducible when deleting all session files. But, > >>> the problem does not occur when I comment out a "session.connect" > >>> method in my application, indicating that the database session is > >>> somewhat related. I use CentOS 5.4 with Python 2.6. > > >>> On 3月18日, 午後9:23, Massimo Di Pierro <massimo.dipie...@gmail.com> > >>> wrote: > > >>>> Are other people having the same problem? Are you sure it is with > >>>> 1.94.4. Can you try delete all sessions files? > > >>>> On Mar 18, 5:59 am, kenji4569 <hos...@s-cubism.jp> wrote: > > >>>>> I have had trouble with 1.94.4 as follows: > >>>>> - Start the develop server of the web2py > >>>>> - Browse the admin application site > >>>>> - Log-in the site > >>>>> - Click a link to my application site (which uses a database > >>>>> session) > >>>>> - browse the admin application site again > >>>>> - Then, cannot log-in the site because somehow the session for the > >>>>> admin site become empty, and never can log-in until restart the > >>>>> develop server. > >>>>> Please help. > > >>>>> On 3月18日, 午後5:36, José L. <jredr...@gmail.com> wrote: > > >>>>>> Debian packages for 1.94.4 are already available where > >>>>>> usual:http://people.debian.org/~jredrejo/web2py/lenny/(forpython2.5) > >>>>>> orhttp://people.debian.org/~jredrejo/web2py/squeeze/(forpython>> 2.5) > > >>>>>> Regards.