Thanks! I will try it this way. Joaquim Puig
On Jul 12, 11:42 am, William Stein <[email protected]> wrote: > On Mon, Jul 12, 2010 at 11:29 AM, Joaquim Puig <[email protected]> wrote: > > Hi, > > > Thanks for the answers and sorry for the late reply. The parameters > > for running the notebook server are: > > > /usr/local/sage-4.3.2/sage -python notebook.py > > > on notebook.py: > > > from sage.all import * > > > notebook(directory='/home/nbuser/nbfiles', port=8000, accounts=True, > > address='', ulimit='-u 100 -v 3000000 -t 3600', open_viewer=False, > > timeout=120, secure=True, server_pool=['nbu...@localhost']) > > > I guess that the problem is with the timeout parameter. Which would be > > a reasonable value? > > You set it to *2 minutes*. That's probably not so reasonable. Maybe > timeout = 3600? > > > > > > > Thanks again, > > > Joaquim Puig > > > On Jul 10, 7:07 am, William Stein <[email protected]> wrote: > >> On Sat, Jul 10, 2010 at 2:48 AM, Mike Hansen <[email protected]> wrote: > >> > 2010/7/9 Jorge E. ´Sanchez Sanchez <[email protected]>: > >> >>> Which could be the problem? Thanks in advance, > > >> > It sounds like the issue could be that the notebook closes the > >> > worksheet session after that amount of inactivity. Then, when you > >> > execute the next command it starts up a new session in which "a" > >> > hasn't been defined. > > >> That's what it sounds like. How *exactly* do you run the notebook server? > > >> William > > >> > --Mike > > >> > -- > >> > 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 > >> > athttp://groups.google.com/group/sage-support > >> > URL:http://www.sagemath.org > > >> -- > >> William Stein > >> Professor of Mathematics > >> University of Washingtonhttp://wstein.org > > > -- > > 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 > > athttp://groups.google.com/group/sage-support > > URL:http://www.sagemath.org > > -- > William Stein > Professor of Mathematics > University of Washingtonhttp://wstein.org -- 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/sage-support URL: http://www.sagemath.org
